aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-02-27 02:19:47 +0900
committersyeyoung <cyoung06@naver.com>2023-02-27 02:19:47 +0900
commit85680da71fabcbd5179eab1b9e4698b3aa92722c (patch)
tree37c3afbce4ddf6a8eba2165570d1c3e42dd4461d
parentf9f694a19c3c9bdeb1e55361a7b3a86d5b98b054 (diff)
downloadSkyblock-Dungeons-Guide-85680da71fabcbd5179eab1b9e4698b3aa92722c.tar.gz
Skyblock-Dungeons-Guide-85680da71fabcbd5179eab1b9e4698b3aa92722c.tar.bz2
Skyblock-Dungeons-Guide-85680da71fabcbd5179eab1b9e4698b3aa92722c.zip
- call try rematch instead
Signed-off-by: syeyoung <cyoung06@naver.com>
-rwxr-xr-xmod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoom.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoom.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoom.java
index 4ce42df3..998f8a1e 100755
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoom.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomfinder/DungeonRoom.java
@@ -201,14 +201,7 @@ public class DungeonRoom {
arr = new long[lenx *leny * lenz * 2 / 8];;
this.doorsAndStates = doorsAndStates;
- roomMatcherThread.submit(() -> {
- try {
- matchRoomAndSetupRoomProcessor();
- matched = true;
- } catch (Exception e) {
- e.printStackTrace();
- }
- });
+ tryRematch();
}
private volatile boolean matched = false;
private volatile boolean matching = false;