mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-22 16:37:25 +00:00
Make sure to clean the chatStore.
This commit is contained in:
parent
cd8cc63113
commit
36bc1adf83
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ public class EssentialsChatPlayerListenerHighest extends EssentialsChatPlayer
|
||||||
@Override
|
@Override
|
||||||
public void onPlayerChat(final PlayerChatEvent event)
|
public void onPlayerChat(final PlayerChatEvent event)
|
||||||
{
|
{
|
||||||
|
final ChatStore chatStore = delChatStore(event);
|
||||||
if (isAborted(event))
|
if (isAborted(event))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
@ -29,6 +30,6 @@ public class EssentialsChatPlayerListenerHighest extends EssentialsChatPlayer
|
||||||
/**
|
/**
|
||||||
* This file should handle charging the user for the action before returning control back
|
* This file should handle charging the user for the action before returning control back
|
||||||
*/
|
*/
|
||||||
charge(event, getChatStore(event));
|
charge(event, chatStore);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue