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:
@@ -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
|
||||
|
Reference in New Issue
Block a user