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 | 6f85761f7fc7949b478c0dec44240f93d4b08a02 (patch) | |
tree | 1da56d3d8ca883cfb71e766600f336d39ecbccb2 /EssentialsChat/src/com/earth2me/essentials/chat | |
parent | cf9d79d24c8b33d10585a3fc97bc38554dee6d8b (diff) | |
download | Essentials-6f85761f7fc7949b478c0dec44240f93d4b08a02.tar Essentials-6f85761f7fc7949b478c0dec44240f93d4b08a02.tar.gz Essentials-6f85761f7fc7949b478c0dec44240f93d4b08a02.tar.lz Essentials-6f85761f7fc7949b478c0dec44240f93d4b08a02.tar.xz Essentials-6f85761f7fc7949b478c0dec44240f93d4b08a02.zip |
Extract CommandSender to CommandSource, this should prevent Ess user object leaks.
Diffstat (limited to 'EssentialsChat/src/com/earth2me/essentials/chat')
-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; } |