summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/Settings.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java
index 067a58bf3..8ce392abb 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 '/'.");
}