aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/dungeon
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-27 01:29:27 +0900
committersyeyoung <cyong06@naver.com>2021-02-27 01:29:27 +0900
commit1e124379b19d71d1d8af28832decd407f49d1a4b (patch)
tree023008358a2a8bf7bc88758c20826e58eb304234 /src/main/java/kr/syeyoung/dungeonsguide/dungeon
parent519e968743e29e32afa760a15e3b3fac8c635b06 (diff)
downloadSkyblock-Dungeons-Guide-1e124379b19d71d1d8af28832decd407f49d1a4b.tar.gz
Skyblock-Dungeons-Guide-1e124379b19d71d1d8af28832decd407f49d1a4b.tar.bz2
Skyblock-Dungeons-Guide-1e124379b19d71d1d8af28832decd407f49d1a4b.zip
ok
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonRoomDoor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonRoomDoor.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonRoomDoor.java
index 83b5388a..d9e8cd2d 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonRoomDoor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonRoomDoor.java
@@ -43,7 +43,7 @@ public class DungeonRoomDoor implements DungeonMechanic {
@Override
public String getCurrentState(DungeonRoom dungeonRoom) {
- return doorfinder.isRequiresKey() ? doorfinder.isOpened() ? "key-open" : "key-closed" : "normal";
+ return doorfinder.isRequiresKey() ?"key" : "normal";
}
@Override