mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Merge branch 'release' of github.com:essentials/Essentials into 2.9
This commit is contained in:
commit
a6c13974c4
1 changed files with 1 additions and 5 deletions
|
@ -191,11 +191,7 @@ public class Settings implements ISettings
|
||||||
for (String command : section.getKeys(false))
|
for (String command : section.getKeys(false))
|
||||||
{
|
{
|
||||||
PluginCommand cmd = ess.getServer().getPluginCommand(command);
|
PluginCommand cmd = ess.getServer().getPluginCommand(command);
|
||||||
if (cmd != null && !cmd.getPlugin().equals(ess) && !isCommandOverridden(command))
|
if (command.charAt(0) == '/')
|
||||||
{
|
|
||||||
ess.getLogger().warning("Invalid command cost. '" + command + "' is not a command handled by Essentials.");
|
|
||||||
}
|
|
||||||
else if (command.charAt(0) == '/')
|
|
||||||
{
|
{
|
||||||
ess.getLogger().warning("Invalid command cost. '" + command + "' should not start with '/'.");
|
ess.getLogger().warning("Invalid command cost. '" + command + "' should not start with '/'.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue