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 d2f3bf94ae
commit cccebdd62e

View File

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