mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-25 22:44:23 +00:00
work on entites
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user