From 4247a5c2f1d62ebd2a84c74a3a34287905084278 Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:50:57 +0200 Subject: Fix: Clicked Blocks Highlight Migrator (#2415) --- src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt | 2 +- .../skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt b/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt index 6d045d56a..b67713435 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt @@ -12,7 +12,7 @@ import com.google.gson.JsonPrimitive object ConfigUpdaterMigrator { val logger = LorenzLogger("ConfigMigration") - const val CONFIG_VERSION = 55 + const val CONFIG_VERSION = 56 fun JsonElement.at(chain: List, init: Boolean): JsonElement? { if (chain.isEmpty()) return this if (this !is JsonObject) return null diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt index 64bdc90da..e58672734 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt @@ -124,7 +124,7 @@ object DungeonHighlightClickedBlocks { @SubscribeEvent fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { - event.move(52, "dungeon.highlightClickedBlocks", "dungeon.clickedBlocks.enabled") + event.move(56, "dungeon.highlightClickedBlocks", "dungeon.clickedBlocks.enabled") } class ClickedBlock(val displayText: String, var color: Color) -- cgit