mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Unregister integratedPlugin after server unloaded
Former-commit-id: 9c9d316ee0a90d5bb1f30465b8032eb3716cb011
This commit is contained in:
1 parent
73a7994e42
commit
bf8083a1ff
1 file changed
+1
@@ -540,6 +540,7 @@ public class QuickShop extends JavaPlugin {
|
||||
// this.reloadConfig();
|
||||
Util.debugLog("Calling integrations...");
|
||||
this.integrationHelper.callIntegrationsLoad(IntegrateStage.onUnloadAfter);
|
||||
this.integrationHelper.getIntegrations().forEach(integratedPlugin -> this.integrationHelper.unregister(integratedPlugin));
|
||||
Util.debugLog("All shutdown work is finished.");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user