1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-12 09:35:26 +02:00

Fix nagging for overriden commands.

This commit is contained in:
md_5
2012-12-20 17:09:42 +11:00
parent 7919065be3
commit f9d34d0fe1

View File

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