1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-08 15:46:54 +02:00

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 9ee75c995f
commit 409fc25f9b

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;
} }