Add more debug messages in onDisable()

So that we can track down why the disable proces slows down
This commit is contained in:
TfT_02
2014-01-18 16:58:49 +01:00
parent 383b048fef
commit b460f7a564
6 changed files with 9 additions and 1 deletions

View File

@ -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()) {