diff options
author | KHobbits <rob@khobbits.co.uk> | 2013-10-16 20:59:39 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-10-16 21:05:33 +0100 |
commit | ff46b39f2b42abbe4ce8dc39e564f3dc71a2a104 (patch) | |
tree | d4438b241ea1b251105a2622aada79542c2f41ce /EssentialsChat/src/com/earth2me/essentials | |
parent | d6dfe5da65fdc9bda682615488f5dc9917c394b5 (diff) | |
download | Essentials-ff46b39f2b42abbe4ce8dc39e564f3dc71a2a104.tar Essentials-ff46b39f2b42abbe4ce8dc39e564f3dc71a2a104.tar.gz Essentials-ff46b39f2b42abbe4ce8dc39e564f3dc71a2a104.tar.lz Essentials-ff46b39f2b42abbe4ce8dc39e564f3dc71a2a104.tar.xz Essentials-ff46b39f2b42abbe4ce8dc39e564f3dc71a2a104.zip |
Extract CommandSender to CommandSource, this should prevent Ess user object leaks.
Diffstat (limited to 'EssentialsChat/src/com/earth2me/essentials')
-rw-r--r-- | EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java index 7fff85ff8..78b9d1a7f 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java @@ -82,7 +82,7 @@ public abstract class EssentialsChatPlayer implements Listener } catch (ChargeException e) { - ess.showError(chatStore.getUser().getBase(), e, chatStore.getLongType()); + ess.showError(chatStore.getUser().getSource(), e, chatStore.getLongType()); event.setCancelled(true); return false; } |