1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-09 16:17:37 +02:00

Force listener cleanup on plugin disable.

This commit is contained in:
KHobbits
2014-06-19 02:59:08 +01:00
parent 692764b9d3
commit 1a03d4f763

View File

@@ -329,6 +329,8 @@ public class Essentials extends JavaPlugin implements net.ess3.api.IEssentials
Economy.setEss(null);
Trade.closeLog();
getUserMap().getUUIDMap().forceWriteUUIDMap();
HandlerList.unregisterAll(this);
}
@Override