mirror of
https://github.com/essentials/Essentials.git
synced 2025-02-25 00:42:48 +01:00
Fix nagging for overriden commands.
This commit is contained in:
parent
b20e4a6bcb
commit
51a700edcf
@ -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.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user