diff --git a/projects/common/src/main/java/dan200/computercraft/shared/lectern/CustomLecternBlockEntity.java b/projects/common/src/main/java/dan200/computercraft/shared/lectern/CustomLecternBlockEntity.java index ee124ed15..ea27c596d 100644 --- a/projects/common/src/main/java/dan200/computercraft/shared/lectern/CustomLecternBlockEntity.java +++ b/projects/common/src/main/java/dan200/computercraft/shared/lectern/CustomLecternBlockEntity.java @@ -119,7 +119,7 @@ public Packet getUpdatePacket() { @Override public CompoundTag getUpdateTag() { var tag = super.getUpdateTag(); - tag.put(NBT_ITEM, item.save(new CompoundTag())); + if (!item.isEmpty()) tag.put(NBT_ITEM, item.save(new CompoundTag())); return tag; }