mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 20:12:54 +00: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:
parent
d2f3bf94ae
commit
cccebdd62e
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ public class Essentials extends JavaPlugin implements IEssentials
|
||||||
@Override
|
@Override
|
||||||
public void onDisable()
|
public void onDisable()
|
||||||
{
|
{
|
||||||
|
Economy.setEss(null);
|
||||||
Trade.closeLog();
|
Trade.closeLog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue