summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager/src
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2013-01-09 04:13:40 +0000
committerElgarL <ElgarL@palmergames.com>2013-01-09 04:13:40 +0000
commit5056210a38522d71e5eb8b0ba2fc8e6aad8d958b (patch)
tree1f11dcc69fbc8cc3d865065c8be67710140a52b8 /EssentialsGroupManager/src
parenteacb847305b70cd0e967caef1a56dc484167c591 (diff)
downloadEssentials-5056210a38522d71e5eb8b0ba2fc8e6aad8d958b.tar
Essentials-5056210a38522d71e5eb8b0ba2fc8e6aad8d958b.tar.gz
Essentials-5056210a38522d71e5eb8b0ba2fc8e6aad8d958b.tar.lz
Essentials-5056210a38522d71e5eb8b0ba2fc8e6aad8d958b.tar.xz
Essentials-5056210a38522d71e5eb8b0ba2fc8e6aad8d958b.zip
code tidy.
Diffstat (limited to 'EssentialsGroupManager/src')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java
index ffdc51616..4d9e0ba1c 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java
@@ -112,8 +112,10 @@ public class BukkitPermissions {
attachments.remove(key);
}
- attachments = new WeakHashMap<String, PermissionAttachment>();
-
+ /*
+ * collect new permissions
+ * and register all attachments.
+ */
this.collectPermissions();
this.updateAllPlayers();
}