mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-11 16:07:38 +00:00
Fix NBT Copy (#728)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user