mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 04:54:51 +00:00
Fixed custom item console
This commit is contained in:
1 parent
487ea6ea4e
commit
cc61684fb8
3 files changed
+39
-30
No files matched your search
@@ -387,6 +387,9 @@ public class GuiScriptInterface extends GuiNPCInterface implements GuiYesNoCallb
|
||||
container.script = "";
|
||||
} else {
|
||||
this.handler.clearConsole();
|
||||
if (this.handler instanceof ScriptCustomItem) {
|
||||
((ScriptCustomItem) this.handler).saveScriptData();
|
||||
}
|
||||
}
|
||||
|
||||
this.initGui();
|
||||
|
||||
Reference in new issue
Block a user