1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-01 08:36:48 +02:00

Remove all permission attachments when performing a manload or restart.

This commit is contained in:
ElgarL
2012-04-06 12:53:36 +01:00
parent bd7af593e7
commit 25bd91eb80
3 changed files with 14 additions and 1 deletions

View File

@@ -106,6 +106,9 @@ public class GroupManager extends JavaPlugin {
}
WorldEvents = null;
// Remove all attachments before clearing
BukkitPermissions.removeAllAttachments();
BukkitPermissions = null;
// EXAMPLE: Custom code, here we just output some info so we can check that