aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-02-11 20:16:18 +0900
committersyeyoung <cyoung06@naver.com>2023-02-11 20:16:18 +0900
commit056d4606c6d4177c20ed9c02676f2bd920060100 (patch)
tree51d98b26b72ccc9d813b46a1daca6c2d2e13cc5e /mod
parenta7a805c7b54aad99739d03b796cb06b8087c3900 (diff)
downloadSkyblock-Dungeons-Guide-056d4606c6d4177c20ed9c02676f2bd920060100.tar.gz
Skyblock-Dungeons-Guide-056d4606c6d4177c20ed9c02676f2bd920060100.tar.bz2
Skyblock-Dungeons-Guide-056d4606c6d4177c20ed9c02676f2bd920060100.zip
- Fix stupidest bug of all (Only being able to have pfall, autostart, or blood rush)
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'mod')
-rwxr-xr-xmod/src/main/java/kr/syeyoung/dungeonsguide/mod/dungeon/roomprocessor/GeneralRoomProcessor.java6
1 files changed, 4 insertions, 2 deletions
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<String, DungeonMechanic> 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<String, DungeonMechanic> value : getDungeonRoom().getMechanics().entrySet()) {
if (value.getValue() instanceof DungeonRoomDoor) {
DungeonRoomDoor dungeonDoor = (DungeonRoomDoor) value.getValue();