mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-24 00:09:41 +00:00
push something??
This commit is contained in:
1 parent
f51c636b79
commit
e316946915
3 files changed
+16
-8
No files matched your search
@@ -207,6 +207,13 @@ public class LinkedItem implements ILinkedItem {
|
||||
this.enchantability = enchantability;
|
||||
}
|
||||
|
||||
public LinkedItem clone() {
|
||||
NBTTagCompound nbt = this.writeToNBT();
|
||||
LinkedItem clone = new LinkedItem(this.name);
|
||||
clone.readFromNBT(nbt, false);
|
||||
return clone;
|
||||
}
|
||||
|
||||
// ADD / GET SETS FOR LINKED ITEM DISPLAY THINGS
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user