mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
Don't try and charge a user if we don't have the chat data stored.
This commit is contained in:
parent
bb29d48268
commit
addd55228b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user