mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 10:44:46 +00:00
Fix Linked Item Duplication Bug
This commit is contained in:
1 parent
a5f661b679
commit
fdd47691ae
5 files changed
+57
-20
No files matched your search
@@ -51,6 +51,8 @@ public class ScriptLinkedItem extends ScriptCustomizableItem implements IItemLin
|
||||
|
||||
@Override
|
||||
public INpcScriptHandler getScriptHandler() {
|
||||
if(this.getLinkedItem() == null)
|
||||
return null;
|
||||
return this.getLinkedItem().getScriptHandler();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user