Fix some Server-side packets being sent by the client

Conflicts:
	src/main/java/mekanism/common/tile/TileEntityEnergyCube.java
This commit is contained in:
Ben Spiers 2014-07-22 21:13:01 +01:00
parent 56e6cbcb55
commit 9f0e564013

View file

@ -182,7 +182,7 @@ public abstract class TileEntityBasicBlock extends TileEntity implements IWrench
facing = direction;
}
if(facing != clientFacing)
if(!(facing == clientFacing || worldObj.isRemote))
{
Mekanism.packetHandler.sendToDimension(new TileEntityMessage(Coord4D.get(this), getNetworkedData(new ArrayList())), worldObj.provider.dimensionId);
worldObj.notifyBlocksOfNeighborChange(xCoord, yCoord, zCoord, worldObj.getBlock(xCoord, yCoord, zCoord));