diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-16 12:36:25 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-16 12:36:25 +0200 |
commit | 5f2375401042c9d8a3289237eea50b97ba515c19 (patch) | |
tree | d8aeba8623982b917e3d0ef666e6bcd7a87e49d7 | |
parent | 2500d25907d0ddff4b2e518a9b54d8826c49b8dd (diff) | |
download | skyhanni-5f2375401042c9d8a3289237eea50b97ba515c19.tar.gz skyhanni-5f2375401042c9d8a3289237eea50b97ba515c19.tar.bz2 skyhanni-5f2375401042c9d8a3289237eea50b97ba515c19.zip |
fixed recent config rename
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/TestExportTools.kt | 2 |
2 files changed, 3 insertions, 1 deletions
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<String>, 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 |