Fixed facing updates not being sent out by machines

This commit is contained in:
Aidan C. Brady 2015-02-16 18:12:31 -05:00
parent b885742690
commit 488af7e8ae

View file

@ -186,7 +186,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));
markDirty();
clientFacing = facing;
}
}