work on entites

This commit is contained in:
Progwml6 committed 2014-01-21 18:01:00 -05:00
1 parent 780e933985
commit 1f0ab2b74a
16 files changed
+63 -53

No files matched your search

@@ -44,12 +44,12 @@ public class TProxyCommon implements IGuiHandler
if (ID == landmineID)
{
return new ContainerLandmine(player, (TileEntityLandmine) world.getBlockTileEntity(x, y, z));
return new ContainerLandmine(player, (TileEntityLandmine) world.func_147438_o(x, y, z));
}
else if (ID < 100)
{
TileEntity tile = world.getBlockTileEntity(x, y, z);
TileEntity tile = world.func_147438_o(x, y, z);
if (tile != null && tile instanceof InventoryLogic)
{
return ((InventoryLogic) tile).getGuiContainer(player.inventory, world, x, y, z);