From 12768ee8b38fd91b09dc66dfe0a231510d34b215 Mon Sep 17 00:00:00 2001 From: simibubi <31564874+simibubi@users.noreply.github.com> Date: Thu, 9 Dec 2021 06:10:53 +0100 Subject: [PATCH] Send me a null --- .../simibubi/create/foundation/tileEntity/SyncedTileEntity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/simibubi/create/foundation/tileEntity/SyncedTileEntity.java b/src/main/java/com/simibubi/create/foundation/tileEntity/SyncedTileEntity.java index 5a591391a..5399eacb7 100644 --- a/src/main/java/com/simibubi/create/foundation/tileEntity/SyncedTileEntity.java +++ b/src/main/java/com/simibubi/create/foundation/tileEntity/SyncedTileEntity.java @@ -56,6 +56,8 @@ public abstract class SyncedTileEntity extends BlockEntity { @Override public void onDataPacket(Connection net, ClientboundBlockEntityDataPacket pkt) { + if (pkt.getTag() == null) + return; readClientUpdate(pkt.getTag()); }