mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 03:25:02 +00:00
Global event script buttons and the script GUI for an NPC are enabled/disabled/darkened based on their respective configs.
This commit is contained in:
1 parent
286f6862cb
commit
3066e1dfbc
3 files changed
+14
-4
No files matched your search
@@ -355,7 +355,7 @@ public class ClientProxy extends CommonProxy {
|
||||
else if(gui == EnumGuiType.PlayerTransporter)
|
||||
return new GuiTransportSelection(npc);
|
||||
|
||||
else if(gui == EnumGuiType.Script)
|
||||
else if(gui == EnumGuiType.Script && CustomNpcs.ScriptingEnabled)
|
||||
return new GuiScript(npc);
|
||||
|
||||
else if(gui == EnumGuiType.PlayerAnvil)
|
||||
|
||||
Reference in new issue
Block a user