From 6c9716f97d50d6dcbf7ae7bad467fd533a9829cd Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 20 Dec 2012 17:09:42 +1100 Subject: Fix nagging for overriden commands. --- Essentials/src/com/earth2me/essentials/Settings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); } -- cgit v1.2.3