mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Fix nagging for overriden commands.
This commit is contained in:
parent
477e1a4f58
commit
3ac6cc11e3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue