From 314a4c38e69eb6ec9eda829d8684b5a32e7a8599 Mon Sep 17 00:00:00 2001 From: ElgarL Date: Wed, 9 Jan 2013 04:13:40 +0000 Subject: code tidy. --- .../org/anjocaido/groupmanager/permissions/BukkitPermissions.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'EssentialsGroupManager/src/org/anjocaido') 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(); - + /* + * collect new permissions + * and register all attachments. + */ this.collectPermissions(); this.updateAllPlayers(); } -- cgit v1.2.3