summaryrefslogtreecommitdiffstats
path: root/EssentialsChat/src/com/earth2me/essentials/chat
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-01-18 23:08:40 +0000
committerKHobbits <rob@khobbits.co.uk>2012-01-18 23:08:40 +0000
commit36bc1adf8334d64f6a8dfb96107b32758d3ac1fa (patch)
tree37b7f5e8715f7920ff34d3acc681c6988d3bd827 /EssentialsChat/src/com/earth2me/essentials/chat
parentcd8cc631134de1ece1aab89c0b01d5a63dda1cfd (diff)
downloadEssentials-36bc1adf8334d64f6a8dfb96107b32758d3ac1fa.tar
Essentials-36bc1adf8334d64f6a8dfb96107b32758d3ac1fa.tar.gz
Essentials-36bc1adf8334d64f6a8dfb96107b32758d3ac1fa.tar.lz
Essentials-36bc1adf8334d64f6a8dfb96107b32758d3ac1fa.tar.xz
Essentials-36bc1adf8334d64f6a8dfb96107b32758d3ac1fa.zip
Make sure to clean the chatStore.
Diffstat (limited to 'EssentialsChat/src/com/earth2me/essentials/chat')
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java3
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);
}
}