From 5f2375401042c9d8a3289237eea50b97ba515c19 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 16 Oct 2023 12:36:25 +0200 Subject: fixed recent config rename --- src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt | 2 +- src/main/java/at/hannibal2/skyhanni/test/TestExportTools.kt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt b/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt index 357493f38..1ba66f130 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt @@ -9,7 +9,7 @@ import com.google.gson.JsonPrimitive object ConfigUpdaterMigrator { val logger = LorenzLogger("ConfigMigration") - val configVersion = 3 + val configVersion = 4 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/test/TestExportTools.kt b/src/main/java/at/hannibal2/skyhanni/test/TestExportTools.kt index f682c1a61..a924da86d 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/TestExportTools.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/TestExportTools.kt @@ -73,5 +73,7 @@ object TestExportTools { @SubscribeEvent fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { event.move(3, "dev.copyNBTDataCompressed", "dev.debug.copyNBTDataCompressed") + event.move(4, "dev.debug.copyNBTData", "dev.debug.copyItemData") + event.move(4, "dev.debug.copyNBTDataCompressed", "dev.debug.copyItemDataCompressed") } } \ No newline at end of file -- cgit