mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-27 17:09:43 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue