mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-24 18:19:03 +01:00
Cancel scheduled tasks on disable
This commit is contained in:
parent
40a66b9be4
commit
31d3f2e7c6
@ -189,6 +189,7 @@ public void onEnable() {
|
||||
public void onDisable() {
|
||||
globalRegionManager.unload();
|
||||
configuration.unload();
|
||||
this.getServer().getScheduler().cancelTasks(this);
|
||||
|
||||
logger.info("WorldGuard " + getDescription().getVersion() + " disabled.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user