mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-28 19:14:15 +00:00
have modules enable last in onEnable
This commit is contained in:
parent
842f96678d
commit
b23b7c0c1b
1 changed files with 1 additions and 2 deletions
|
@ -114,8 +114,6 @@ public class Plex extends JavaPlugin
|
|||
mongoConnection = new MongoConnection();
|
||||
redisConnection = new RedisConnection();
|
||||
|
||||
moduleManager.enableModules();
|
||||
|
||||
system = config.getString("system");
|
||||
|
||||
PlexLog.log("Attempting to connect to DB: {0}", plugin.config.getString("data.central.db"));
|
||||
|
@ -188,6 +186,7 @@ public class Plex extends JavaPlugin
|
|||
PlexLog.log("Started " + serviceManager.serviceCount() + " services.");
|
||||
|
||||
reloadPlayers();
|
||||
moduleManager.enableModules();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue