mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-01 05:04:43 +02:00
Add more debug messages in onDisable()
So that we can track down why the disable proces slows down
This commit is contained in:
@ -211,7 +211,9 @@ public class mcMMO extends JavaPlugin {
|
||||
}
|
||||
catch (NullPointerException e) {}
|
||||
|
||||
debug("Canceling all tasks...");
|
||||
getServer().getScheduler().cancelTasks(this); // This removes our tasks
|
||||
debug("Unregister all events...");
|
||||
HandlerList.unregisterAll(this); // Cancel event registrations
|
||||
|
||||
if (Config.getInstance().getBackupsEnabled()) {
|
||||
|
Reference in New Issue
Block a user