Added extension unloading

This commit is contained in:
Auxilor
2021-06-27 15:30:05 +01:00
parent 78907412b2
commit 497adbe7b1

View File

@@ -418,6 +418,10 @@ public abstract class EcoPlugin extends JavaPlugin {
this.getConfigHandler().saveAllConfigs();
this.disable();
if (this.isSupportingExtensions()) {
this.getExtensionLoader().unloadExtensions();
}
}
/**