From 3b91570a8c498f3af23a848362f5069c25062e3f Mon Sep 17 00:00:00 2001 From: frqnny <45723631+frqnny@users.noreply.github.com> Date: Mon, 17 Jun 2024 17:16:47 -0400 Subject: [PATCH] 1.21 update --- gradle.properties | 9 +++++---- .../src/main/java/draylar/omegaconfig/OmegaConfig.java | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gradle.properties b/gradle.properties index 6cceed6..a222c19 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,15 +3,16 @@ org.gradle.jvmargs=-Xmx2G # Fabric Properties # check these on https://fabricmc.net/versions.html -minecraft_version=1.20.6 -yarn_mappings=1.20.6+build.3 + +minecraft_version=1.21 +yarn_mappings=1.21+build.2 loader_version=0.15.11 # Fabric API -fabric_version=0.100.2+1.20.6 +fabric_version=0.100.2+1.21 # Mod Properties -mod_version=1.4.3 +mod_version=1.4.4 maven_group=dev.draylar archives_base_name=omega-config modmenu_version=7.1.0 \ No newline at end of file diff --git a/omega-config-base/src/main/java/draylar/omegaconfig/OmegaConfig.java b/omega-config-base/src/main/java/draylar/omegaconfig/OmegaConfig.java index f120dac..6dba00d 100644 --- a/omega-config-base/src/main/java/draylar/omegaconfig/OmegaConfig.java +++ b/omega-config-base/src/main/java/draylar/omegaconfig/OmegaConfig.java @@ -237,7 +237,7 @@ public void onInitialize() { } public record SyncConfigPayload(NbtCompound nbtCompound) implements CustomPayload { - public static final Identifier CONFIG_SYNC_PACKET = new Identifier("omegaconfig", "sync"); + public static final Identifier CONFIG_SYNC_PACKET = Identifier.of("omegaconfig", "sync"); public static final CustomPayload.Id ID = new Id<>(CONFIG_SYNC_PACKET); public static final PacketCodec CODEC = PacketCodecs.NBT_COMPOUND.xmap(SyncConfigPayload::new, SyncConfigPayload::nbtCompound).cast();