user.dispose() should be called on every quit.

This commit is contained in:
snowleo 2011-07-19 01:27:56 +02:00
parent c8ba06f0ee
commit d388290427

View File

@ -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()