diff options
author | snowleo <schneeleo@gmail.com> | 2011-07-19 01:27:56 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-07-19 01:27:56 +0200 |
commit | d388290427f8d16dd6418bdcea9badfff2461ec3 (patch) | |
tree | 33a2745a28f71b33cc914c4b1f75bdd710f317d3 | |
parent | c8ba06f0ee55abf09a0ab0968945cb9ab1f52a21 (diff) | |
download | Essentials-d388290427f8d16dd6418bdcea9badfff2461ec3.tar Essentials-d388290427f8d16dd6418bdcea9badfff2461ec3.tar.gz Essentials-d388290427f8d16dd6418bdcea9badfff2461ec3.tar.lz Essentials-d388290427f8d16dd6418bdcea9badfff2461ec3.tar.xz Essentials-d388290427f8d16dd6418bdcea9badfff2461ec3.zip |
user.dispose() should be called on every quit.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java index f539227f0..36654b91f 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java @@ -215,11 +215,11 @@ public class EssentialsPlayerListener extends PlayerListener user.getInventory().setContents(user.getSavedInventory()); user.setSavedInventory(null); } + user.dispose(); if (!ess.getSettings().getReclaimSetting()) { return; } - user.dispose(); final Thread thread = new Thread(new Runnable() { public void run() |