From 4bcfeb18890623c3e507286eaff3ea93117c87d7 Mon Sep 17 00:00:00 2001 From: tterrag1098 Date: Mon, 6 Apr 2015 21:44:37 -0400 Subject: [PATCH] Fix issues with present clientside desync --- .../com/cricketcraft/chisel/block/BlockPresent.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/cricketcraft/chisel/block/BlockPresent.java b/src/main/java/com/cricketcraft/chisel/block/BlockPresent.java index 69cef826..b362f260 100644 --- a/src/main/java/com/cricketcraft/chisel/block/BlockPresent.java +++ b/src/main/java/com/cricketcraft/chisel/block/BlockPresent.java @@ -79,14 +79,12 @@ public class BlockPresent extends Block implements ICarvable { TileEntityPresent te = (TileEntityPresent) world.getTileEntity(x, y, z); world.setBlockMetadataWithNotify(x, y, z, stack.getItemDamage(), 3); te.setRotation(heading); - if (!world.isRemote) { - te.findConnections(); - if (te.isConnected()) { - TileEntityPresent other = te.getConnection(); - other.setRotation(heading); - } - world.markBlockForUpdate(x, y, z); + te.findConnections(); + if (te.isConnected()) { + TileEntityPresent other = te.getConnection(); + other.setRotation(heading); } + world.markBlockForUpdate(x, y, z); } @Override