mirror of
https://github.com/plexusorg/Plex.git
synced 2025-06-12 15:43:55 +00:00
have modules enable last in onEnable
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user