Cancel scheduler tasks onDisable to prevent nag warnings

This commit is contained in:
Wizjany 2011-08-07 11:57:32 -04:00
parent 0f73533199
commit b8a987b204

View File

@ -118,6 +118,7 @@ public class WorldEditPlugin extends JavaPlugin {
} }
controller.clearSessions(); controller.clearSessions();
config.unload(); config.unload();
this.getServer().getScheduler().cancelTasks(this);
} }
/** /**