Фикс для BungeeCord

This commit is contained in:
Gravit 2018-10-09 18:57:32 +07:00
parent 16f12d54f9
commit 4a2b535403
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -74,7 +74,7 @@ public static boolean loopAuth(ServerWrapper wrapper,int count,int sleeptime) {
public static void main(String[] args) throws Throwable {
ServerWrapper wrapper = new ServerWrapper();
modulesManager = new ModulesManager(wrapper);
modulesManager.autoload(Paths.get("modules"));
modulesManager.autoload(Paths.get("srv_modules")); //BungeeCord using modules dir
Launcher.modulesManager = modulesManager;
configFile = Paths.get("ServerWrapper.cfg");
modulesManager.preInitModules();