summaryrefslogtreecommitdiffstats
path: root/EssentialsChat/src/com
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-01-27 14:13:10 +0000
committerKHobbits <rob@khobbits.co.uk>2013-01-27 15:26:42 +0000
commitaddd55228b79efdeda6092a293303b9d8cb7a5d3 (patch)
tree1a37b5964453ef12fb882d2342cd6fb06bdc0daf /EssentialsChat/src/com
parentbb29d4826894eb77c26974d438a2f5319759ba86 (diff)
downloadEssentials-addd55228b79efdeda6092a293303b9d8cb7a5d3.tar
Essentials-addd55228b79efdeda6092a293303b9d8cb7a5d3.tar.gz
Essentials-addd55228b79efdeda6092a293303b9d8cb7a5d3.tar.lz
Essentials-addd55228b79efdeda6092a293303b9d8cb7a5d3.tar.xz
Essentials-addd55228b79efdeda6092a293303b9d8cb7a5d3.zip
Don't try and charge a user if we don't have the chat data stored.
Diffstat (limited to 'EssentialsChat/src/com')
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java
index db728bd09..9af8cf593 100644
--- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java
+++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java
@@ -23,7 +23,7 @@ public class EssentialsChatPlayerListenerHighest extends EssentialsChatPlayer
public void onPlayerChat(final AsyncPlayerChatEvent event)
{
final ChatStore chatStore = delChatStore(event);
- if (isAborted(event))
+ if (isAborted(event) || chatStore == null)
{
return;
}