diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java index 3c4084ce..e29ccd28 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java @@ -202,6 +202,9 @@ public class LPBukkitPlugin extends JavaPlugin implements LuckPermsPlugin { // initialise messaging String messagingType = getConfiguration().get(ConfigKeys.MESSAGING_SERVICE).toLowerCase(); + if (messagingType.equals("none") && getConfiguration().get(ConfigKeys.REDIS_ENABLED)) { + messagingType = "redis"; + } if (messagingType.equals("redis")) { getLog().info("Loading redis..."); if (getConfiguration().get(ConfigKeys.REDIS_ENABLED)) { diff --git a/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeePlugin.java b/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeePlugin.java index 6cf883a2..d807674c 100644 --- a/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeePlugin.java +++ b/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeePlugin.java @@ -133,6 +133,9 @@ public class LPBungeePlugin extends Plugin implements LuckPermsPlugin { // initialise messaging String messagingType = getConfiguration().get(ConfigKeys.MESSAGING_SERVICE).toLowerCase(); + if (messagingType.equals("none") && getConfiguration().get(ConfigKeys.REDIS_ENABLED)) { + messagingType = "redis"; + } if (messagingType.equals("redis")) { getLog().info("Loading redis..."); if (getConfiguration().get(ConfigKeys.REDIS_ENABLED)) { diff --git a/sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongePlugin.java b/sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongePlugin.java index 48881720..dccb3dbc 100644 --- a/sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongePlugin.java +++ b/sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongePlugin.java @@ -189,6 +189,9 @@ public class LPSpongePlugin implements LuckPermsPlugin { // initialise messaging String messagingType = getConfiguration().get(ConfigKeys.MESSAGING_SERVICE).toLowerCase(); + if (messagingType.equals("none") && getConfiguration().get(ConfigKeys.REDIS_ENABLED)) { + messagingType = "redis"; + } if (messagingType.equals("redis")) { getLog().info("Loading redis..."); if (getConfiguration().get(ConfigKeys.REDIS_ENABLED)) {