Don't try and charge a user if we don't have the chat data stored.

This commit is contained in:
KHobbits 2013-01-27 14:13:10 +00:00
parent bb29d48268
commit addd55228b

View File

@ -23,7 +23,7 @@ public class EssentialsChatPlayerListenerHighest extends EssentialsChatPlayer
public void onPlayerChat(final AsyncPlayerChatEvent event) public void onPlayerChat(final AsyncPlayerChatEvent event)
{ {
final ChatStore chatStore = delChatStore(event); final ChatStore chatStore = delChatStore(event);
if (isAborted(event)) if (isAborted(event) || chatStore == null)
{ {
return; return;
} }