diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-12-20 15:51:49 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-12-20 15:51:49 +0000 |
commit | fb0cd8fbf0d406dec7e850ff95939402f8d093d8 (patch) | |
tree | 466298e1d4048fba7dac08a8b0ffcdcbe35569ab | |
parent | 01d1ae442e9b0a59e5f12c12ad9203cd246d4d93 (diff) | |
download | Essentials-fb0cd8fbf0d406dec7e850ff95939402f8d093d8.tar Essentials-fb0cd8fbf0d406dec7e850ff95939402f8d093d8.tar.gz Essentials-fb0cd8fbf0d406dec7e850ff95939402f8d093d8.tar.lz Essentials-fb0cd8fbf0d406dec7e850ff95939402f8d093d8.tar.xz Essentials-fb0cd8fbf0d406dec7e850ff95939402f8d093d8.zip |
Remove command cost warnings from plugin matching.
-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 b29649291..e1519b108 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 '/'."); } |