Skip to content

Commit ca15417

Browse files
committed
Fixed luxcognita dream effect not being cleared in some cases
(cherry picked from commit 1f4137f)
1 parent 9435278 commit ca15417

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/me/emafire003/dev/lightwithin/client/screens/LuxcognitaScreenV2.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,12 +336,14 @@ else if(clickAction.equals(ClickActions.GO_DIALOGUE)){
336336
String finalTarget = target;
337337
pressAction = (button -> {
338338
this.client.player.sendMessage(Text.translatable(finalTarget));
339+
sendDialogueStopDreamPacket();
339340
this.closeWithAnimation();
340341
});
341342
}else if(clickAction.equals(ClickActions.SEND_OVERLAY_MSG)){
342343
String finalTarget = target;
343344
pressAction = (button -> {
344345
this.client.player.sendMessage(Text.translatable(finalTarget), true);
346+
sendDialogueStopDreamPacket();
345347
this.closeWithAnimation();
346348
});
347349
}

0 commit comments

Comments
 (0)