aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-01 11:28:32 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-01 11:28:32 +0200
commit7edef27128078b6a5e5defcc0c84f919a5af6aad (patch)
tree1d55fa0cd5fe2c01949d93d179ae14dd64df8738 /src/main/java/at/hannibal2
parent83ed5f00e9943762d419e1b78f55942b15f9c99c (diff)
downloadskyhanni-7edef27128078b6a5e5defcc0c84f919a5af6aad.tar.gz
skyhanni-7edef27128078b6a5e5defcc0c84f919a5af6aad.tar.bz2
skyhanni-7edef27128078b6a5e5defcc0c84f919a5af6aad.zip
fixed config version with rabbitWarning
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.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 b44153e79..56118f4db 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 = 46
+ const val CONFIG_VERSION = 47
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/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt
index 108c24451..5da9a19e8 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt
@@ -134,7 +134,7 @@ object ChocolateFactoryDataLoader {
@SubscribeEvent
fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) {
event.move(
- 46,
+ 47,
"inventory.chocolateFactory.rabbitWarning",
"inventory.chocolateFactory.rabbitWarning.rabbitWarning"
)