mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Update DSRVChatHook.java
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user