summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <md_5@bigpond.com>2012-12-20 17:09:42 +1100
committermd_5 <md_5@bigpond.com>2012-12-20 17:11:05 +1100
commit79671d08e4f3a0697e1d29006782c402e7fcd4ba (patch)
tree782cef90cdc4ce54400052e3f4957d57c23fb0d2
parentd01d6bcd1bafc789512c58ca24795cb61a031d28 (diff)
downloadEssentials-79671d08e4f3a0697e1d29006782c402e7fcd4ba.tar
Essentials-79671d08e4f3a0697e1d29006782c402e7fcd4ba.tar.gz
Essentials-79671d08e4f3a0697e1d29006782c402e7fcd4ba.tar.lz
Essentials-79671d08e4f3a0697e1d29006782c402e7fcd4ba.tar.xz
Essentials-79671d08e4f3a0697e1d29006782c402e7fcd4ba.zip
Fix nagging for overriden commands.
-rw-r--r--Essentials/src/com/earth2me/essentials/Settings.java2
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 43b7dea30..067a58bf3 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.");
}