From 056d4606c6d4177c20ed9c02676f2bd920060100 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Sat, 11 Feb 2023 20:16:18 +0900 Subject: - Fix stupidest bug of all (Only being able to have pfall, autostart, or blood rush) Signed-off-by: syeyoung --- .../mod/dungeon/roomprocessor/GeneralRoomProcessor.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mod/src/main/java/kr/syeyoung') diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomprocessor/GeneralRoomProcessor.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomprocessor/GeneralRoomProcessor.java index 83714937..23c5a3d8 100755 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomprocessor/GeneralRoomProcessor.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomprocessor/GeneralRoomProcessor.java @@ -81,7 +81,8 @@ public class GeneralRoomProcessor implements RoomProcessor { public void tick() { if (!ticked && FeatureRegistry.SECRET_AUTO_START.isEnabled()) { searchForNextTarget(); - }else if (!ticked && FeatureRegistry.SECRET_PATHFIND_ALL.isEnabled()) { + } + if (!ticked && FeatureRegistry.SECRET_PATHFIND_ALL.isEnabled()) { for (Map.Entry value : getDungeonRoom().getDungeonRoomInfo().getMechanics().entrySet()) { if (value.getValue() instanceof DungeonSecret && ((DungeonSecret) value.getValue()).getSecretStatus(dungeonRoom) != DungeonSecret.SecretStatus.FOUND) { DungeonSecret dungeonSecret = (DungeonSecret) value.getValue(); @@ -95,7 +96,8 @@ public class GeneralRoomProcessor implements RoomProcessor { pathfind(value.getKey(), "found", FeatureRegistry.SECRET_LINE_PROPERTIES_PATHFINDALL_ITEM_DROP.getRouteProperties()); } } - } else if (!ticked && FeatureRegistry.SECRET_BLOOD_RUSH.isEnabled()) { + } + if (!ticked && FeatureRegistry.SECRET_BLOOD_RUSH.isEnabled()) { for (Map.Entry value : getDungeonRoom().getMechanics().entrySet()) { if (value.getValue() instanceof DungeonRoomDoor) { DungeonRoomDoor dungeonDoor = (DungeonRoomDoor) value.getValue(); -- cgit