diff options
Diffstat (limited to 'src/main/kotlin/dulkirmod/features/DungeonLeap.kt')
-rw-r--r-- | src/main/kotlin/dulkirmod/features/DungeonLeap.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/dulkirmod/features/DungeonLeap.kt b/src/main/kotlin/dulkirmod/features/DungeonLeap.kt index 901c839..d1be829 100644 --- a/src/main/kotlin/dulkirmod/features/DungeonLeap.kt +++ b/src/main/kotlin/dulkirmod/features/DungeonLeap.kt @@ -19,7 +19,7 @@ class DungeonLeap { val lastInLeap = inLeapMenuBool if (!Config.highlightLeap) return - if (mc.currentScreen == null || !(mc.currentScreen is GuiChest)) { + if (mc.currentScreen == null || mc.currentScreen !is GuiChest) { inLeapMenuBool = false return } |