mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 04:57:27 +00:00
Update NpcAPI.java
This commit is contained in:
1 parent
690f2ca10d
commit
5c04b1aae6
1 file changed
+5
-1
@@ -494,9 +494,13 @@ public class NpcAPI extends AbstractNpcAPI {
|
||||
scriptLinkedItem.linkedItem = linkedItem.clone();
|
||||
scriptLinkedItem.linkedVersion = linkedItem.version;
|
||||
scriptLinkedItem.saveItemData();
|
||||
|
||||
// Send Version Change Event
|
||||
// TODO: Version Change Event
|
||||
} else {
|
||||
|
||||
|
||||
|
||||
} else if (linkedItem == null){
|
||||
// Destroy Linked Item
|
||||
scriptStack.item.stackSize = 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user