1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-05 06:07:54 +02:00

manulistp <name> + now only lists perms with a value of true

This commit is contained in:
ElgarL
2011-09-24 15:55:53 +01:00
parent 4ca12d3b38
commit 65186ff9da

View File

@@ -190,6 +190,7 @@ public class BukkitPermissions {
perms.add("Effective Permissions:");
for(PermissionAttachmentInfo info : player.getEffectivePermissions()){
if (info.getValue() == true)
perms.add(" " + info.getPermission() + " = " + info.getValue());
}
return perms;