diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/dungeon')
3 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt index 31e8c611e..d10122334 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt @@ -28,7 +28,7 @@ class DungeonCleanEnd { @SubscribeEvent fun onChatMessage(event: LorenzChatEvent) { if (!LorenzUtils.inDungeons) return - if (!config.toggle) return + if (!config.enabled) return val message = event.message @@ -39,7 +39,7 @@ class DungeonCleanEnd { private fun shouldBlock(): Boolean { if (!LorenzUtils.inDungeons) return false - if (!config.toggle) return false + if (!config.enabled) return false if (!bossDone) return false @@ -66,7 +66,7 @@ class DungeonCleanEnd { @SubscribeEvent fun onEntityHealthUpdate(event: EntityHealthUpdateEvent) { if (!LorenzUtils.inDungeons) return - if (!config.toggle) return + if (!config.enabled) return if (bossDone) return if (lastBossId == -1) return if (event.entity.entityId != lastBossId) return @@ -117,7 +117,7 @@ class DungeonCleanEnd { @SubscribeEvent fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { - event.move(3, "dungeon.cleanEndToggle", "dungeon.cleanEnd.toggle") + event.move(3, "dungeon.cleanEndToggle", "dungeon.cleanEnd.enabled") event.move(3, "dungeon.cleanEndF3IgnoreGuardians", "dungeon.cleanEnd.F3IgnoreGuardians") } diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt index ddfd622a7..834cd8fd6 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt @@ -137,9 +137,9 @@ class DungeonCopilot { } @SubscribeEvent - fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){ + fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { event.move(3, "dungeon.messageFilterKeysAndDoors", "dungeon.messageFilter.keysAndDoors") - event.move(3,"dungeon.copilotEnabled", "dungeon.dungeonCopilot.enabled") - event.move(3,"dungeon.copilotPos", "dungeon.dungeonCopilot.pos") + event.move(3, "dungeon.copilotEnabled", "dungeon.dungeonCopilot.enabled") + event.move(3, "dungeon.copilotPos", "dungeon.dungeonCopilot.pos") } }
\ No newline at end of file diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt index 776a11a14..b15cdabb7 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonLevelColor.kt @@ -37,7 +37,7 @@ class DungeonLevelColor { } @SubscribeEvent - fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent){ + fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { event.move(3, "dungeon.partyFinderColoredClassLevel", "dungeon.partyFinder.coloredClassLevel") } } |