Prevents Client from Opening Scripter if Client Side config is disabled

This commit is contained in:
Kam committed 2023-11-16 21:09:29 -05:00
1 parent f0f83d19ba
commit 510c7283f4
1 file changed
+1 -1
@@ -303,7 +303,7 @@ public class ClientProxy extends CommonProxy {
else if (gui == EnumGuiType.PlayerTransporter)
return new GuiTransportSelection(npc);
else if (gui == EnumGuiType.Script && ConfigScript.ScriptingEnabled)
else if (gui == EnumGuiType.Script)
return new GuiScript(npc);
else if (gui == EnumGuiType.ScriptItem)