Minor cleanup

This commit is contained in:
Aidan C. Brady committed 2015-02-16 17:20:51 -05:00
1 parent 3561f9fe59
commit 03f6156d23
3 files changed
+6 -2

No files matched your search

@@ -188,7 +188,7 @@ public abstract class TileEntityBasicBlock extends TileEntity implements IWrench
if(!(facing == clientFacing || worldObj.isRemote))
{
Mekanism.packetHandler.sendToReceivers(new TileEntityMessage(Coord4D.get(this), getNetworkedData(new ArrayList())), new Range4D(Coord4D.get(this)));
worldObj.notifyBlocksOfNeighborChange(xCoord, yCoord, zCoord, worldObj.getBlock(xCoord, yCoord, zCoord));
worldObj.notifyBlocksOfNeighborChange(xCoord, yCoord, zCoord, getBlockType());
clientFacing = facing;
}
}
@@ -221,7 +221,7 @@ public abstract class TileEntityBasicBlock extends TileEntity implements IWrench
@Method(modid = "IC2API")
public ItemStack getWrenchDrop(EntityPlayer entityPlayer)
{
return getBlockType().getPickBlock(null, worldObj, xCoord, yCoord, zCoord);
return getBlockType().getPickBlock(null, worldObj, xCoord, yCoord, zCoord, entityPlayer);
}
public boolean isPowered()