From d388290427f8d16dd6418bdcea9badfff2461ec3 Mon Sep 17 00:00:00 2001 From: snowleo Date: Tue, 19 Jul 2011 01:27:56 +0200 Subject: [PATCH] user.dispose() should be called on every quit. --- .../src/com/earth2me/essentials/EssentialsPlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()