1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-07-31 03:40:52 +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 f7f9b9f8c5
commit 145313b3ea

View File

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