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 | 3ac6cc11e36b39beb935824058471788103cee38 (patch) | |
tree | 20407bb14dba425240b05793a88e4d4d624aab85 | |
parent | 477e1a4f589af10cf6a3b58b4d4f466eeb85cee6 (diff) | |
download | Essentials-3ac6cc11e36b39beb935824058471788103cee38.tar Essentials-3ac6cc11e36b39beb935824058471788103cee38.tar.gz Essentials-3ac6cc11e36b39beb935824058471788103cee38.tar.lz Essentials-3ac6cc11e36b39beb935824058471788103cee38.tar.xz Essentials-3ac6cc11e36b39beb935824058471788103cee38.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."); } |