mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 20:12:54 +00:00
manulistp <name> + now only lists perms with a value of true
This commit is contained in:
parent
d18a47a643
commit
ff7cc5aec9
1 changed files with 2 additions and 1 deletions
|
@ -190,7 +190,8 @@ public class BukkitPermissions {
|
||||||
|
|
||||||
perms.add("Effective Permissions:");
|
perms.add("Effective Permissions:");
|
||||||
for(PermissionAttachmentInfo info : player.getEffectivePermissions()){
|
for(PermissionAttachmentInfo info : player.getEffectivePermissions()){
|
||||||
perms.add(" " + info.getPermission() + " = " + info.getValue());
|
if (info.getValue() == true)
|
||||||
|
perms.add(" " + info.getPermission() + " = " + info.getValue());
|
||||||
}
|
}
|
||||||
return perms;
|
return perms;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue