mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-09-06 04:58:00 +02:00
Edited Essentials/src/com/earth2me/essentials/commands/Commandhelp.java via GitHub
This commit is contained in:
parent
e4ba0245be
commit
beea6879b1
@ -139,6 +139,13 @@ public class Commandhelp extends EssentialsCommand
|
|||||||
retval.add("§c" + k.getKey() + "§7: " + value.get("description"));
|
retval.add("§c" + k.getKey() + "§7: " + value.get("description"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (value.containsKey("permissions") && value.get("permissions") != null && !(value.get("permissions").equals("")))
|
||||||
|
{
|
||||||
|
if (user.isAuthorized(value.get("permissions")))
|
||||||
|
{
|
||||||
|
retval.add("§c" + k.getKey() + "§7: " + value.get("description"));
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!ess.getSettings().hidePermissionlessHelp())
|
if (!ess.getSettings().hidePermissionlessHelp())
|
||||||
|
Loading…
Reference in New Issue
Block a user