From fb0cd8fbf0d406dec7e850ff95939402f8d093d8 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Thu, 20 Dec 2012 15:51:49 +0000 Subject: [PATCH] Remove command cost warnings from plugin matching. --- Essentials/src/com/earth2me/essentials/Settings.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index b29649291..e1519b108 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -191,11 +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) && !isCommandOverridden(command)) - { - ess.getLogger().warning("Invalid command cost. '" + command + "' is not a command handled by Essentials."); - } - else if (command.charAt(0) == '/') + if (command.charAt(0) == '/') { ess.getLogger().warning("Invalid command cost. '" + command + "' should not start with '/'."); }