From 1e124379b19d71d1d8af28832decd407f49d1a4b Mon Sep 17 00:00:00 2001 From: syeyoung Date: Sat, 27 Feb 2021 01:29:27 +0900 Subject: ok --- .../kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonRoomDoor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon') 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 -- cgit