9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-31 04:36:45 +00:00

Update Redis initialization handling now that it is multithreaded

This commit is contained in:
William
2022-01-20 18:36:33 +00:00
parent 7d46ce076b
commit 920d2582f5
4 changed files with 4 additions and 14 deletions

View File

@@ -122,11 +122,6 @@ public final class HuskSyncBukkit extends JavaPlugin {
// Initialize the redis listener
redisListener = new BukkitRedisListener();
if (!redisListener.isActiveAndEnabled) {
getPluginLoader().disablePlugin(this);
getLogger().severe("Failed to initialize Redis; disabling HuskSync (" + getServer().getName() + ") v" + getDescription().getVersion());
return;
}
// Ensure redis is connected; establish a handshake
establishRedisHandshake();