mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 06:24:24 +00:00
#935 Machines can be accessed and modified
This commit is contained in:
1 parent
74fde786c0
commit
c5333a72d4
10 files changed
+55
-9
No files matched your search
@@ -277,13 +277,15 @@ public class BlockHyperCube extends BlockEio implements IGuiHandler, IResourceTo
|
||||
if(!(te instanceof TileHyperCube)) {
|
||||
return false;
|
||||
}
|
||||
entityPlayer.openGui(EnderIO.instance, GuiHandler.GUI_ID_HYPER_CUBE, world, x, y, z);
|
||||
if(!world.isRemote) {
|
||||
entityPlayer.openGui(EnderIO.instance, GuiHandler.GUI_ID_HYPER_CUBE, world, x, y, z);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
||||
return null;
|
||||
return new ContainerHyperCube();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user