From bc52e4da0e26ac7a2d8a824d90cc998985d36e54 Mon Sep 17 00:00:00 2001 From: Luck Date: Thu, 2 Feb 2017 15:58:34 +0000 Subject: [PATCH] Fix OPs disabled message --- .../src/main/java/me/lucko/luckperms/bukkit/BukkitListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitListener.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitListener.java index 2e56a351..c44b7910 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitListener.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitListener.java @@ -160,7 +160,7 @@ class BukkitListener extends AbstractListener implements Listener { @EventHandler public void onPlayerCommand(PlayerCommandPreprocessEvent e) { - if (plugin.getConfiguration().get(ConfigKeys.AUTO_OP)) { + if (plugin.getConfiguration().get(ConfigKeys.OPS_ENABLED)) { return; }