From db2d2622e17af9f7f7f262fd12eadd8f3760c2d6 Mon Sep 17 00:00:00 2001 From: Kynake Date: Sat, 28 Nov 2026 14:57:22 -0300 Subject: [PATCH] Always use the original item's NBT when creating hand chisel GUI --- .../team/chisel/inventory/InventoryChiselSelection.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/java/team/chisel/inventory/InventoryChiselSelection.java b/src/main/java/team/chisel/inventory/InventoryChiselSelection.java index 02fb6f75..e3af8d41 100644 --- a/src/main/java/team/chisel/inventory/InventoryChiselSelection.java +++ b/src/main/java/team/chisel/inventory/InventoryChiselSelection.java @@ -148,12 +148,9 @@ public class InventoryChiselSelection implements IInventory { != null) { ItemStack variationTemplate = list.get(activeVariations + currentScroll); - // Preserve the original's NBT tags - if (chiseledItem.hasTagCompound()) { - variationTemplate = variationTemplate.copy(); - // We can defer the deep copy the NBT object until the player actually chisels the item - variationTemplate.setTagCompound(chiseledItem.getTagCompound()); - } + // We can defer the deep copy of the NBT object until the player actually chisels the item + variationTemplate = variationTemplate.copy(); + variationTemplate.setTagCompound(chiseledItem.getTagCompound()); inventory[activeVariations] = variationTemplate; activeVariations++;