mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-05 14:18:21 +02:00
manulistp <name> + now only lists perms with a value of true
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user