Fix NBT Copy (#728)

This commit is contained in:
slprime authored and GitHub committed 2025-09-22 20:28:05 -07:00
1 parent ab0aeef872
commit 58ef6c85e0
1 file changed
+1 -1
@@ -25,7 +25,7 @@ public class DefaultStackStringifyHandler implements IStackStringifyHandler {
nbTag.setShort("Damage", (short) stack.getItemDamage());
if (stack.hasTagCompound() && !stack.getTagCompound().hasNoTags()) {
nbTag.setTag("tag", stack.getTagCompound());
nbTag.setTag("tag", stack.getTagCompound().copy());
}
return nbTag;