From fa66cb16c1459026eaf3f8734c30fd93c4a53fbd Mon Sep 17 00:00:00 2001 From: Osmond Lee Date: Tue, 23 Jun 2026 21:55:09 -0500 Subject: [PATCH] Added returning an empty CompoundTag in getUpdateTag --- .../furniture/core/block/entity/DisplayBlockEntity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/src/main/java/com/berksire/furniture/core/block/entity/DisplayBlockEntity.java b/common/src/main/java/com/berksire/furniture/core/block/entity/DisplayBlockEntity.java index e720533..9d38a76 100644 --- a/common/src/main/java/com/berksire/furniture/core/block/entity/DisplayBlockEntity.java +++ b/common/src/main/java/com/berksire/furniture/core/block/entity/DisplayBlockEntity.java @@ -52,6 +52,8 @@ public ClientboundBlockEntityDataPacket getUpdatePacket() { CompoundTag compoundTag = new CompoundTag(); if (!this.displayedItem.isEmpty()) { compoundTag.put("DisplayedItem", this.displayedItem.save(provider)); + } else { + compoundTag.put("DisplayedItem", new CompoundTag()); } return compoundTag; }