diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-12-20 17:03:48 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-12-20 17:03:48 +0000 |
commit | a6c13974c40c114b64781b30b5971da89e5b11d7 (patch) | |
tree | 6137aef7d82c6c7b68209af54626ba4b90426ce0 | |
parent | f125ac3b4a5b6c38cbe0d9bb11b189dbd1e462f9 (diff) | |
parent | fb0cd8fbf0d406dec7e850ff95939402f8d093d8 (diff) | |
download | Essentials-a6c13974c40c114b64781b30b5971da89e5b11d7.tar Essentials-a6c13974c40c114b64781b30b5971da89e5b11d7.tar.gz Essentials-a6c13974c40c114b64781b30b5971da89e5b11d7.tar.lz Essentials-a6c13974c40c114b64781b30b5971da89e5b11d7.tar.xz Essentials-a6c13974c40c114b64781b30b5971da89e5b11d7.zip |
Merge branch 'release' of github.com:essentials/Essentials into 2.9
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Settings.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index 067a58bf3..8ce392abb 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -191,11 +191,7 @@ public class Settings implements ISettings for (String command : section.getKeys(false)) { PluginCommand cmd = ess.getServer().getPluginCommand(command); - if (cmd != null && !cmd.getPlugin().equals(ess) && !isCommandOverridden(command)) - { - ess.getLogger().warning("Invalid command cost. '" + command + "' is not a command handled by Essentials."); - } - else if (command.charAt(0) == '/') + if (command.charAt(0) == '/') { ess.getLogger().warning("Invalid command cost. '" + command + "' should not start with '/'."); } |