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 | 145313b3ea3aadecaff0a53713f7e664643c98aa (patch) | |
tree | 3d19ab89dc27f92e77960de7b05ced3ef19e081d | |
parent | f7f9b9f8c5987396f285036d23e7768c9720ebff (diff) | |
download | Essentials-145313b3ea3aadecaff0a53713f7e664643c98aa.tar Essentials-145313b3ea3aadecaff0a53713f7e664643c98aa.tar.gz Essentials-145313b3ea3aadecaff0a53713f7e664643c98aa.tar.lz Essentials-145313b3ea3aadecaff0a53713f7e664643c98aa.tar.xz Essentials-145313b3ea3aadecaff0a53713f7e664643c98aa.zip |
Don't try and charge a user if we don't have the chat data stored.
-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; } |