aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-08-26 13:50:57 +0200
committerGitHub <noreply@github.com>2024-08-26 13:50:57 +0200
commit4247a5c2f1d62ebd2a84c74a3a34287905084278 (patch)
treeca5e12a0053b2d7200f0733cef0ab972d2f2432e /src
parent416a767ac27c4ebf9d60c933037b7f94623e7ecf (diff)
downloadskyhanni-4247a5c2f1d62ebd2a84c74a3a34287905084278.tar.gz
skyhanni-4247a5c2f1d62ebd2a84c74a3a34287905084278.tar.bz2
skyhanni-4247a5c2f1d62ebd2a84c74a3a34287905084278.zip
Fix: Clicked Blocks Highlight Migrator (#2415)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt2
2 files changed, 2 insertions, 2 deletions
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<String>, 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)