Fix right-click on vaccum chest

* Right-clicking on a vacuumchest no longer places a block
This commit is contained in:
HenryLoenwind committed 2015-02-07 22:25:42 +01:00
1 parent 87d7701ec0
commit a7acc79a4b
1 file changed
+2 -1
@@ -40,7 +40,8 @@ public class BlockVacuumChest extends BlockEio implements IGuiHandler, IResource
protected boolean openGui(World world, int x, int y, int z, EntityPlayer entityPlayer, int side) {
if(!world.isRemote) {
entityPlayer.openGui(EnderIO.instance, GuiHandler.GUI_ID_VACUUM_CHEST, world, x, y, z);
} return super.openGui(world, x, y, z, entityPlayer, side);
}
return true;
}
@Override