added rule autoloadScripts to load scripts at startup.

This commit is contained in:
gnembon committed 2019-09-17 14:21:36 -03:00
1 parent 9050a8a0ef
commit b89bb3e503
3 files changed
+20 -4

No files matched your search

+1
View File
@@ -61,6 +61,7 @@ public class CarpetServer // static for now - easier to handle all around the co
e.onServerLoaded(server);
});
scriptServer = new CarpetScriptServer();
scriptServer.loadAllWorldScripts();
MobAI.resetTrackers();
}