From 85680da71fabcbd5179eab1b9e4698b3aa92722c Mon Sep 17 00:00:00 2001 From: syeyoung Date: Mon, 27 Feb 2023 02:19:47 +0900 Subject: - call try rematch instead Signed-off-by: syeyoung --- .../dungeonsguide/mod/dungeon/roomfinder/DungeonRoom.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'mod/src/main/java/kr/syeyoung') 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; -- cgit