#935 Machines can be accessed and modified

This commit is contained in:
CrazyPants committed 2014-09-02 18:58:42 +08:00
1 parent 72d4292e36
commit 74fde786c0
1 file changed
+3 -1
@@ -119,7 +119,9 @@ public abstract class AbstractMachineBlock<T extends AbstractMachineEntity> exte
if(entityPlayer.isSneaking()) {
return false;
}
entityPlayer.openGui(EnderIO.instance, getGuiId(), world, x, y, z);
if(!world.isRemote) {
entityPlayer.openGui(EnderIO.instance, getGuiId(), world, x, y, z);
}
return true;
}