1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-07 15:16:41 +02:00

null the Essentials object in static EcoApi, so it doesn't leak on /reload.

TODO: Make the eco api non-static
This commit is contained in:
snowleo
2011-11-15 22:49:23 +01:00
parent 77dfa1ba18
commit a2c14b7c07

View File

@@ -221,6 +221,7 @@ public class Essentials extends JavaPlugin implements IEssentials
@Override
public void onDisable()
{
Economy.setEss(null);
Trade.closeLog();
}