@ -48,6 +48,8 @@ public final class HuskSyncBungeeCord extends Plugin {
publicstaticMPDBMigratormpdbMigrator;
publicstaticMPDBMigratormpdbMigrator;
publicstaticBungeeRedisListenerredisListener;
privateLoggerlogger;
privateLoggerlogger;
publicLoggergetBungeeLogger(){
publicLoggergetBungeeLogger(){
@ -98,7 +100,8 @@ public final class HuskSyncBungeeCord extends Plugin {
}
}
// Initialize the redis listener
// Initialize the redis listener
if(!newBungeeRedisListener().isActiveAndEnabled){
redisListener=newBungeeRedisListener();
if(!redisListener.isActiveAndEnabled){
getBungeeLogger().severe("Failed to initialize Redis; HuskSync will now abort loading itself ("+getProxy().getName()+") v"+getDescription().getVersion());
getBungeeLogger().severe("Failed to initialize Redis; HuskSync will now abort loading itself ("+getProxy().getName()+") v"+getDescription().getVersion());