Send me a null
This commit is contained in:
parent
59f9ae1f30
commit
12768ee8b3
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue