1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-02-25 00:42:48 +01:00

Merge branch 'release' of github.com:essentials/Essentials into 2.9

This commit is contained in:
KHobbits 2012-12-20 17:03:48 +00:00
commit f7b0b134b5

View File

@ -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 '/'.");
}