Fixed memes not working, fixes #763

This commit is contained in:
raoulvdberge
2016-12-18 01:50:14 +01:00
parent 97db100839
commit b93602c113

View File

@@ -91,9 +91,6 @@ public class GuiGrid extends GuiBase implements IGridDisplay {
this.grid = grid;
this.wasConnected = this.grid.isActive();
this.konamiOffsetsX = new int[9 * getVisibleRows()];
this.konamiOffsetsY = new int[9 * getVisibleRows()];
}
@Override
@@ -117,6 +114,9 @@ public class GuiGrid extends GuiBase implements IGridDisplay {
addSideButton(new SideButtonRedstoneMode(this, grid.getRedstoneModeConfig()));
}
this.konamiOffsetsX = new int[9 * getVisibleRows()];
this.konamiOffsetsY = new int[9 * getVisibleRows()];
int sx = x + 80 + 1;
int sy = y + 6 + 1 + getTabDelta();