diff options
author | md-5 <md_5@live.com.au> | 2012-07-10 02:25:56 -0700 |
---|---|---|
committer | md-5 <md_5@live.com.au> | 2012-07-10 02:25:56 -0700 |
commit | efec7c8f95ee8bb5c618f27cfd67f91369fc280b (patch) | |
tree | ee1e98030648a0243b37b3963d8fe460c9786429 /EssentialsGroupManager/src | |
parent | 72015d42fc14c548a08f323be61e088a0edf156c (diff) | |
parent | ed668fcac4aa3f713752d4d3ea3b99dba0bc9259 (diff) | |
download | Essentials-efec7c8f95ee8bb5c618f27cfd67f91369fc280b.tar Essentials-efec7c8f95ee8bb5c618f27cfd67f91369fc280b.tar.gz Essentials-efec7c8f95ee8bb5c618f27cfd67f91369fc280b.tar.lz Essentials-efec7c8f95ee8bb5c618f27cfd67f91369fc280b.tar.xz Essentials-efec7c8f95ee8bb5c618f27cfd67f91369fc280b.zip |
Merge pull request #96 from mbax/groupmanager
Fix critical flaw in permissions removal with regards to fake players and Tekkit.
Diffstat (limited to 'EssentialsGroupManager/src')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java index 05e152286..22883414d 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java @@ -442,18 +442,7 @@ public class BukkitPermissions { updatePermissions(event.getPlayer(), event.getPlayer().getWorld().getName());
}
- @EventHandler(priority = EventPriority.LOWEST)
- public void onPlayerKick(PlayerKickEvent event) {
-
- Player player = event.getPlayer();
-
- /*
- * force remove any attachments as bukkit may not
- */
- removeAttachment(player);
- }
-
- @EventHandler(priority = EventPriority.LOWEST)
+ @EventHandler(priority = EventPriority.HIGHEST)
public void onPlayerQuit(PlayerQuitEvent event) {
if (!GroupManager.isLoaded())
|