Fix OPs disabled message

This commit is contained in:
Luck 2017-02-02 15:58:34 +00:00
parent f0b4040458
commit bc52e4da0e
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -160,7 +160,7 @@ class BukkitListener extends AbstractListener implements Listener {
@EventHandler @EventHandler
public void onPlayerCommand(PlayerCommandPreprocessEvent e) { public void onPlayerCommand(PlayerCommandPreprocessEvent e) {
if (plugin.getConfiguration().get(ConfigKeys.AUTO_OP)) { if (plugin.getConfiguration().get(ConfigKeys.OPS_ENABLED)) {
return; return;
} }