mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 14:22:56 +00:00
All external scripts of type "Java" are now synced to client on login/script reload
This commit is contained in:
1 parent
8a2ba6ae4e
commit
a8b3c0b8d4
4 files changed
+49
-27
No files matched your search
@@ -12,6 +12,7 @@ public class ScriptCommand extends CommandKamkeelBase {
|
||||
@SubCommand(desc = "Reload scripts data and folders.")
|
||||
public Boolean reload(ICommandSender sender, String args[]) {
|
||||
ScriptController.Instance.loadCategories();
|
||||
ScriptController.Instance.syncClientScripts(null);
|
||||
|
||||
if (ScriptController.Instance.loadPlayerScripts())
|
||||
sendResult(sender, "Reload player scripts successfully");
|
||||
|
||||
Reference in new issue
Block a user