diff options
author | ElgarL <ElgarL@palmergames.com> | 2011-09-24 15:55:53 +0100 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2011-09-24 15:55:53 +0100 |
commit | ff7cc5aec9c9ac2dbef06e93df216be1cc74d7df (patch) | |
tree | 606ecc2e567725de14faacccfb7b6d7db313118f /EssentialsGroupManager | |
parent | d18a47a6431277c880e03151b9c1fb97c1c409bb (diff) | |
download | Essentials-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.java | 3 |
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;
}
|