diff options
author | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2023-10-22 00:19:21 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-22 00:19:21 +0900 |
commit | e0995c5536c599f291f3d703cfcbf5a4ac6f55e6 (patch) | |
tree | 0f25f375b739a86703e70c71d4c2fc71664eefdd /mod/src/main | |
parent | 03eb1c64fce49454fa1cf90be015fa0be7064a57 (diff) | |
download | Skyblock-Dungeons-Guide-e0995c5536c599f291f3d703cfcbf5a4ac6f55e6.tar.gz Skyblock-Dungeons-Guide-e0995c5536c599f291f3d703cfcbf5a4ac6f55e6.tar.bz2 Skyblock-Dungeons-Guide-e0995c5536c599f291f3d703cfcbf5a4ac6f55e6.zip |
- Fix #377 box solver freeze, due to someone making addToChatQueue fire ClientChatReceivedEvent (#430)
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod/src/main')
-rwxr-xr-x | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomprocessor/boxpuzzle/RoomProcessorBoxSolver.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomprocessor/boxpuzzle/RoomProcessorBoxSolver.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomprocessor/boxpuzzle/RoomProcessorBoxSolver.java index 97a80656..1171027a 100755 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomprocessor/boxpuzzle/RoomProcessorBoxSolver.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomprocessor/boxpuzzle/RoomProcessorBoxSolver.java @@ -319,10 +319,10 @@ public class RoomProcessorBoxSolver extends GeneralRoomProcessor { if (chat.getFormattedText().toLowerCase().contains("recalc")) { if (calcDone) { calcReq = true; - ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide :::: Recalculating Route...")); + Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText("§eDungeons Guide :::: Recalculating Route...")); } else { calcReq = true; - ChatTransmitter.addToQueue(new ChatComponentText("§eDungeons Guide :::: Currently Calculating Route...")); + Minecraft.getMinecraft().thePlayer.addChatMessage(new ChatComponentText("§eDungeons Guide :::: Currently Calculating Route...")); } } } |