diff options
author | ElgarL <ElgarL@palmergames.com> | 2013-01-09 04:13:40 +0000 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2013-01-09 04:13:40 +0000 |
commit | 5056210a38522d71e5eb8b0ba2fc8e6aad8d958b (patch) | |
tree | 1f11dcc69fbc8cc3d865065c8be67710140a52b8 /EssentialsGroupManager/src | |
parent | eacb847305b70cd0e967caef1a56dc484167c591 (diff) | |
download | Essentials-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.java | 6 |
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();
}
|