From 79671d08e4f3a0697e1d29006782c402e7fcd4ba Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 20 Dec 2012 17:09:42 +1100 Subject: [PATCH] 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 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."); }