diff options
author | syeyoung <cyong06@naver.com> | 2021-02-24 18:43:03 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-02-24 18:43:03 +0900 |
commit | 41446967d713f65e7f4e903ebf5b39f397b27ab0 (patch) | |
tree | 43df2856379899d8f3b9f4b76bc7733f38914c29 | |
parent | 526296b7e381ab968eac8b370f33462f631e3718 (diff) | |
download | Skyblock-Dungeons-Guide-41446967d713f65e7f4e903ebf5b39f397b27ab0.tar.gz Skyblock-Dungeons-Guide-41446967d713f65e7f4e903ebf5b39f397b27ab0.tar.bz2 Skyblock-Dungeons-Guide-41446967d713f65e7f4e903ebf5b39f397b27ab0.zip |
reset visited
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java | 2 |
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(); } } |