diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-01-18 23:08:40 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-01-18 23:08:40 +0000 |
commit | be5e54ab99272f382ae440a5a3f010231c3d8e22 (patch) | |
tree | 8b389d2d9c8676925f08806ec7ce9ccbcbca2301 /EssentialsChat | |
parent | 59090403e891aff4f00a5c4d2fd5dddc393653db (diff) | |
download | Essentials-be5e54ab99272f382ae440a5a3f010231c3d8e22.tar Essentials-be5e54ab99272f382ae440a5a3f010231c3d8e22.tar.gz Essentials-be5e54ab99272f382ae440a5a3f010231c3d8e22.tar.lz Essentials-be5e54ab99272f382ae440a5a3f010231c3d8e22.tar.xz Essentials-be5e54ab99272f382ae440a5a3f010231c3d8e22.zip |
Make sure to clean the chatStore.
Diffstat (limited to 'EssentialsChat')
-rw-r--r-- | EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java index 276715f31..35c140f6b 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java @@ -21,6 +21,7 @@ public class EssentialsChatPlayerListenerHighest extends EssentialsChatPlayer @Override public void onPlayerChat(final PlayerChatEvent event) { + final ChatStore chatStore = delChatStore(event); if (isAborted(event)) { return; @@ -29,6 +30,6 @@ public class EssentialsChatPlayerListenerHighest extends EssentialsChatPlayer /** * This file should handle charging the user for the action before returning control back */ - charge(event, getChatStore(event)); + charge(event, chatStore); } } |