put gui ids in other class

This commit is contained in:
Raoul Van den Berge
2015-12-24 21:49:20 +01:00
parent 770483ee02
commit 0e0c6eb5b9
17 changed files with 70 additions and 53 deletions

View File

@@ -12,6 +12,7 @@ import net.minecraft.util.IIcon;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import storagecraft.StorageCraft;
import storagecraft.StorageCraftGUI;
import storagecraft.tile.TileGrid;
import storagecraft.tile.TileWirelessTransmitter;
@@ -80,7 +81,7 @@ public class ItemWirelessGrid extends ItemBase
}
else
{
player.openGui(StorageCraft.INSTANCE, StorageCraft.GUI.GRID, world, grid.xCoord, grid.yCoord, grid.zCoord);
player.openGui(StorageCraft.INSTANCE, StorageCraftGUI.GRID, world, grid.xCoord, grid.yCoord, grid.zCoord);
}
}
else