Update DSRVChatHook.java

This commit is contained in:
Olzie-12 authored and GitHub committed 2022-12-14 14:03:12 +00:00
1 parent 2bd6e447ee
commit 783c5c91f0
1 file changed
+1 -1
@@ -70,7 +70,7 @@ public class DSRVChatHook implements ChatHook {
final ChatChannel chatChannel = event.chatChannel();
final CarbonPlayer carbonPlayer = event.sender();
final ImmutablePair<CarbonPlayer, ChatChannel> pair = new ImmutablePair<>(carbonPlayer, chatChannel);
final Component messageComponent = awaitingEvent.getIfPresent(pair);
Component messageComponent = awaitingEvent.getIfPresent(pair);
awaitingEvent.invalidate(pair);
if (messageComponent == null) {