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:
@@ -221,6 +221,7 @@ public class Essentials extends JavaPlugin implements IEssentials
|
||||
@Override
|
||||
public void onDisable()
|
||||
{
|
||||
Economy.setEss(null);
|
||||
Trade.closeLog();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user