Minor fix

This commit is contained in:
Aidan Brady 2013-10-27 20:21:21 -04:00
parent a63573d80f
commit 8478096bc7

View file

@ -655,6 +655,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds
{
TileEntityLogisticalSorter sorter = (TileEntityLogisticalSorter)tileEntity;
PacketLogisticalSorterGui.openServerGui(SorterGuiPacket.SERVER, 0, world, (EntityPlayerMP)entityplayer, Object3D.get(tileEntity), -1);
return true;
}
else {
if(!entityplayer.isSneaking() && MachineType.getFromMetadata(metadata).guiId != -1)