diff options
author | KHobbits <rob@khobbits.co.uk> | 2013-01-27 14:13:10 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-01-27 15:26:42 +0000 |
commit | addd55228b79efdeda6092a293303b9d8cb7a5d3 (patch) | |
tree | 1a37b5964453ef12fb882d2342cd6fb06bdc0daf /EssentialsChat/src/com/earth2me/essentials | |
parent | bb29d4826894eb77c26974d438a2f5319759ba86 (diff) | |
download | Essentials-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/earth2me/essentials')
-rw-r--r-- | EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerHighest.java | 2 |
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; } |