Fix OPs disabled message

This commit is contained in:
Luck committed 2017-02-02 15:58:34 +00:00
1 parent f0b4040458
commit bc52e4da0e
1 file changed
+1 -1
@@ -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;
}