This commit is contained in:
parent
e5decb1325
commit
35542207d8
|
@ -60,7 +60,7 @@ public class PacketClick extends AppEngPacket
|
|||
byte side = stream.readByte();
|
||||
if( side != -1 )
|
||||
{
|
||||
this.side = EnumFacing.values()[stream.readByte()];
|
||||
this.side = EnumFacing.values()[side];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -137,7 +137,7 @@ public class ToolNetworkTool extends AEBaseItem implements IGuiItem, IAEWrench /
|
|||
}
|
||||
|
||||
final Block b = w.getBlockState( pos ).getBlock();
|
||||
if( b != null && !p.isSneaking() )
|
||||
if( !p.isSneaking() )
|
||||
{
|
||||
final TileEntity te = w.getTileEntity( pos );
|
||||
if( !( te instanceof IGridHost ) )
|
||||
|
|
Loading…
Reference in New Issue