diff options
author | md_5 <md_5@bigpond.com> | 2012-12-20 17:09:42 +1100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-12-20 09:56:30 +0100 |
commit | 6c9716f97d50d6dcbf7ae7bad467fd533a9829cd (patch) | |
tree | c15a44b27d627ef8914bcb99023207f59b69eb2a | |
parent | 770f0e81b0bd12655c6861249a87830713d4f002 (diff) | |
download | Essentials-6c9716f97d50d6dcbf7ae7bad467fd533a9829cd.tar Essentials-6c9716f97d50d6dcbf7ae7bad467fd533a9829cd.tar.gz Essentials-6c9716f97d50d6dcbf7ae7bad467fd533a9829cd.tar.lz Essentials-6c9716f97d50d6dcbf7ae7bad467fd533a9829cd.tar.xz Essentials-6c9716f97d50d6dcbf7ae7bad467fd533a9829cd.zip |
Fix nagging for overriden commands.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Settings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index a8ef1a344..b29649291 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -191,7 +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)) + if (cmd != null && !cmd.getPlugin().equals(ess) && !isCommandOverridden(command)) { ess.getLogger().warning("Invalid command cost. '" + command + "' is not a command handled by Essentials."); } |