From 658116f2d8cdaacff10aab524d7381c872e1ed13 Mon Sep 17 00:00:00 2001 From: opekope2 Date: Sun, 1 Dec 2024 16:32:03 +0100 Subject: [PATCH 1/2] Revert "Don't save `avm_staff:rocket_mode`" This reverts commit c25a897a51d74abc8571e6191a5dd6c7407df696. --- .../main/kotlin/opekope2/avm_staff/content/DataComponentTypes.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/StaffMod/src/main/kotlin/opekope2/avm_staff/content/DataComponentTypes.kt b/StaffMod/src/main/kotlin/opekope2/avm_staff/content/DataComponentTypes.kt index e58e70d13..0348adbf1 100644 --- a/StaffMod/src/main/kotlin/opekope2/avm_staff/content/DataComponentTypes.kt +++ b/StaffMod/src/main/kotlin/opekope2/avm_staff/content/DataComponentTypes.kt @@ -71,6 +71,7 @@ object DataComponentTypes : RegistryUtil>(MOD_ID, RegistryKeys. @JvmField val ROCKET_MODE = register("rocket_mode") { ComponentType.builder() + .codec(MinecraftUnit.CODEC) .packetCodec(PacketCodec.unit(minecraftUnit)) .build() } From ac9821c06fd35121cfdc874e1169bd9852e72053 Mon Sep 17 00:00:00 2001 From: opekope2 Date: Sun, 1 Dec 2024 16:36:09 +0100 Subject: [PATCH 2/2] Bump version --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 307b08231..b5a62be4f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] java = "21" # Don't forget to update *.mixins.json kotlin = "2.0.0" -staff-mod = "0.20.2" +staff-mod = "0.20.3" architectury-plugin = "3.4-SNAPSHOT" architectury-loom = "1.7-SNAPSHOT" yarn = "1.21+build.9"