mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-21 12:32:13 +00:00
Fix some Server-side packets being sent by the client
Conflicts: src/main/java/mekanism/common/tile/TileEntityEnergyCube.java
This commit is contained in:
1 parent
56e6cbcb55
commit
9f0e564013
1 file changed
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user