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 | 409fc25f9b33a2cf7dd7337352da874888f4f197 (patch) | |
tree | e784f5bf2452cb091f00ae81f55afd357d6385d8 /EssentialsChat/src/com/earth2me/essentials/chat | |
parent | 9ee75c995f39a79737bffaa67079ae67995cd845 (diff) | |
download | Essentials-409fc25f9b33a2cf7dd7337352da874888f4f197.tar Essentials-409fc25f9b33a2cf7dd7337352da874888f4f197.tar.gz Essentials-409fc25f9b33a2cf7dd7337352da874888f4f197.tar.lz Essentials-409fc25f9b33a2cf7dd7337352da874888f4f197.tar.xz Essentials-409fc25f9b33a2cf7dd7337352da874888f4f197.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/chat')
-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; } |