mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 12:59:41 +00:00
Minor cleanup
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user