mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-26 02:58:03 +01:00
Remove command cost warnings from plugin matching.
This commit is contained in:
parent
01d1ae442e
commit
fb0cd8fbf0
@ -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 '/'.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user