mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 04:09:43 +00:00
#935 Machines can be accessed and modified
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user