aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-24 18:43:03 +0900
committersyeyoung <cyong06@naver.com>2021-02-24 18:43:03 +0900
commit41446967d713f65e7f4e903ebf5b39f397b27ab0 (patch)
tree43df2856379899d8f3b9f4b76bc7733f38914c29 /src/main
parent526296b7e381ab968eac8b370f33462f631e3718 (diff)
downloadSkyblock-Dungeons-Guide-41446967d713f65e7f4e903ebf5b39f397b27ab0.tar.gz
Skyblock-Dungeons-Guide-41446967d713f65e7f4e903ebf5b39f397b27ab0.tar.bz2
Skyblock-Dungeons-Guide-41446967d713f65e7f4e903ebf5b39f397b27ab0.zip
reset visited
Diffstat (limited to 'src/main')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java
index 7b1e3433..b0b98310 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java
@@ -93,6 +93,8 @@ public class GeneralRoomProcessor implements RoomProcessor {
if (lowestWeightMechanic != null) {
visited.add(lowestWeightMechanic.getKey());
pathfind(lowestWeightMechanic.getKey(), "found");
+ } else {
+ visited.clear();
}
}