mirror of
https://github.com/essentials/Essentials.git
synced 2025-10-03 09:31:57 +02:00
Unregister the worldsHolder as a service on a reload/shutdown instead of
the whole plugin.
This commit is contained in:
@@ -98,7 +98,7 @@ public class GroupManager extends JavaPlugin {
|
||||
setLoaded(false);
|
||||
|
||||
// Un-register this service.
|
||||
this.getServer().getServicesManager().unregister(this);
|
||||
this.getServer().getServicesManager().unregister(this.worldsHolder);
|
||||
|
||||
disableScheduler(); // Shutdown before we save, so it doesn't interfere.
|
||||
if (worldsHolder != null) {
|
||||
|
Reference in New Issue
Block a user