aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/features/chat/DungeonKeyDisplay.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/dulkirmod/features/chat/DungeonKeyDisplay.kt')
-rw-r--r--src/main/kotlin/dulkirmod/features/chat/DungeonKeyDisplay.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/features/chat/DungeonKeyDisplay.kt b/src/main/kotlin/dulkirmod/features/chat/DungeonKeyDisplay.kt
index 2ba01f0..d31de56 100644
--- a/src/main/kotlin/dulkirmod/features/chat/DungeonKeyDisplay.kt
+++ b/src/main/kotlin/dulkirmod/features/chat/DungeonKeyDisplay.kt
@@ -10,7 +10,7 @@ object DungeonKeyDisplay {
private val altOpenMessage = "The BLOOD DOOR has been opened!".toRegex()
var hasKey = false;
fun handle(stringUnformatted: String) {
- if (!TabListUtils.isInDungeons) {
+ if (TabListUtils.area != "Dungeon") {
hasKey = false
return
}