Send me a null

This commit is contained in:
simibubi 2021-12-09 06:10:53 +01:00
parent 59f9ae1f30
commit 12768ee8b3

View file

@ -56,6 +56,8 @@ public abstract class SyncedTileEntity extends BlockEntity {
@Override @Override
public void onDataPacket(Connection net, ClientboundBlockEntityDataPacket pkt) { public void onDataPacket(Connection net, ClientboundBlockEntityDataPacket pkt) {
if (pkt.getTag() == null)
return;
readClientUpdate(pkt.getTag()); readClientUpdate(pkt.getTag());
} }