mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-25 22:44:23 +00:00
run through remap script
This commit is contained in:
1 parent
689aeba09b
commit
b8cf7cdc5e
208 files changed
+4117
-4117
No files matched your search
@@ -44,12 +44,12 @@ public class TProxyCommon implements IGuiHandler
|
||||
|
||||
if (ID == landmineID)
|
||||
{
|
||||
return new ContainerLandmine(player, (TileEntityLandmine) world.func_147438_o(x, y, z));
|
||||
return new ContainerLandmine(player, (TileEntityLandmine) world.getTileEntity(x, y, z));
|
||||
}
|
||||
|
||||
else if (ID < 100)
|
||||
{
|
||||
TileEntity tile = world.func_147438_o(x, y, z);
|
||||
TileEntity tile = world.getTileEntity(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