diff --git a/src/main/java/WayofTime/bloodmagic/tile/TileDemonCrystal.java b/src/main/java/WayofTime/bloodmagic/tile/TileDemonCrystal.java index d856cc42..052e8e2a 100644 --- a/src/main/java/WayofTime/bloodmagic/tile/TileDemonCrystal.java +++ b/src/main/java/WayofTime/bloodmagic/tile/TileDemonCrystal.java @@ -35,8 +35,6 @@ public class TileDemonCrystal extends TileTicking { if (getWorld().isRemote) { - if(internalCounter % 20 == 0) - getWorld().markBlockRangeForRenderUpdate(pos, pos); return; } @@ -208,4 +206,10 @@ public class TileDemonCrystal extends TileTicking { this.placement = placement; } + + @Override + protected void onDataPacketClientReceived() { + super.onDataPacketClientReceived(); + notifyUpdate(); + } } \ No newline at end of file diff --git a/src/main/java/WayofTime/bloodmagic/tile/base/TileBase.java b/src/main/java/WayofTime/bloodmagic/tile/base/TileBase.java index e39ba05f..18344853 100644 --- a/src/main/java/WayofTime/bloodmagic/tile/base/TileBase.java +++ b/src/main/java/WayofTime/bloodmagic/tile/base/TileBase.java @@ -97,6 +97,14 @@ public class TileBase extends TileEntity { public final void onDataPacket(NetworkManager net, SPacketUpdateTileEntity pkt) { super.onDataPacket(net, pkt); readFromNBT(pkt.getNbtCompound()); + onDataPacketClientReceived(); + } + + /** + * Hook for performing client side updates after data packets are received and processed + */ + protected void onDataPacketClientReceived() { + // noop } @Override