diff options
author | snowleo <schneeleo@gmail.com> | 2011-11-15 22:49:23 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-11-15 22:51:14 +0100 |
commit | cccebdd62e72937ab0f7d2304d592eefce758cbb (patch) | |
tree | 57bf6c19c8e0ed3e65115bb7ea62420647b3afaa | |
parent | d2f3bf94ae54e4ae4451f033de96a1d5a529ca33 (diff) | |
download | Essentials-cccebdd62e72937ab0f7d2304d592eefce758cbb.tar Essentials-cccebdd62e72937ab0f7d2304d592eefce758cbb.tar.gz Essentials-cccebdd62e72937ab0f7d2304d592eefce758cbb.tar.lz Essentials-cccebdd62e72937ab0f7d2304d592eefce758cbb.tar.xz Essentials-cccebdd62e72937ab0f7d2304d592eefce758cbb.zip |
null the Essentials object in static EcoApi, so it doesn't leak on /reload.
TODO: Make the eco api non-static
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Essentials.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java index a571483f6..392321f9f 100644 --- a/Essentials/src/com/earth2me/essentials/Essentials.java +++ b/Essentials/src/com/earth2me/essentials/Essentials.java @@ -221,6 +221,7 @@ public class Essentials extends JavaPlugin implements IEssentials @Override public void onDisable() { + Economy.setEss(null); Trade.closeLog(); } |