summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2011-09-24 15:55:53 +0100
committerElgarL <ElgarL@palmergames.com>2011-09-24 15:55:53 +0100
commitff7cc5aec9c9ac2dbef06e93df216be1cc74d7df (patch)
tree606ecc2e567725de14faacccfb7b6d7db313118f /EssentialsGroupManager
parentd18a47a6431277c880e03151b9c1fb97c1c409bb (diff)
downloadEssentials-ff7cc5aec9c9ac2dbef06e93df216be1cc74d7df.tar
Essentials-ff7cc5aec9c9ac2dbef06e93df216be1cc74d7df.tar.gz
Essentials-ff7cc5aec9c9ac2dbef06e93df216be1cc74d7df.tar.lz
Essentials-ff7cc5aec9c9ac2dbef06e93df216be1cc74d7df.tar.xz
Essentials-ff7cc5aec9c9ac2dbef06e93df216be1cc74d7df.zip
manulistp <name> + now only lists perms with a value of true
Diffstat (limited to 'EssentialsGroupManager')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java
index afb65b26c..5a39bd9a8 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java
@@ -190,7 +190,8 @@ public class BukkitPermissions {
perms.add("Effective Permissions:");
for(PermissionAttachmentInfo info : player.getEffectivePermissions()){
- perms.add(" " + info.getPermission() + " = " + info.getValue());
+ if (info.getValue() == true)
+ perms.add(" " + info.getPermission() + " = " + info.getValue());
}
return perms;
}