Stop cloning a linked item from replacing its shared script handler

This commit is contained in:
KAMKEEL committed 2026-08-11 12:18:59 -04:00
1 parent 795464fb81
commit 32c5cc78c7
1 file changed
+1 -1
@@ -266,7 +266,7 @@ public class LinkedItem implements ILinkedItem {
}
public LinkedItem clone() {
NBTTagCompound nbt = this.writeToNBT(true);
NBTTagCompound nbt = this.writeToNBT(false);
LinkedItem clone = new LinkedItem(this.name);
clone.readFromNBT(nbt);
return clone;