From 65fccbc09ed4cec00e2fdc18059c231df15da5b4 Mon Sep 17 00:00:00 2001 From: Martin Prokoph Date: Sat, 13 Dec 2025 12:29:20 +0100 Subject: [PATCH] fix: invalid identifier crash in Sodium compat --- CHANGELOG.md | 3 +++ gradle.properties | 2 +- .../midnightdust/cullleaves/config/SodiumConfigEntryPoint.java | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5962f2..522a182 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### CullLeaves v4.1.1.1 +- Fix crash due to invalid identifier in new Sodium compat + ## CullLeaves v4.1.1 - Port to 1.21.11 (Mounts of Mayhem) - Add support for Sodium 0.8.0 diff --git a/gradle.properties b/gradle.properties index 52147eb..05f51c1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ org.gradle.parallel=false #org.gradle.configureondemand=true # Mod properties -mod.version=4.1.1 +mod.version=4.1.1.1 mod.group=eu.midnightdust mod.id=cullleaves mod.name=CullLeaves diff --git a/src/main/java/eu/midnightdust/cullleaves/config/SodiumConfigEntryPoint.java b/src/main/java/eu/midnightdust/cullleaves/config/SodiumConfigEntryPoint.java index b334698..11925da 100644 --- a/src/main/java/eu/midnightdust/cullleaves/config/SodiumConfigEntryPoint.java +++ b/src/main/java/eu/midnightdust/cullleaves/config/SodiumConfigEntryPoint.java @@ -27,7 +27,7 @@ public class SodiumConfigEntryPoint implements ConfigEntryPoint { .setImpact(OptionImpact.MEDIUM) ) .addOption( - builder.createBooleanOption(Identifier.fromNamespaceAndPath(MOD_ID, "cullRoots")) + builder.createBooleanOption(Identifier.fromNamespaceAndPath(MOD_ID, "cull_roots")) .setDefaultValue(true) .setName(Component.translatable("cullleaves.midnightconfig.cullRoots")) .setTooltip(Component.translatable("cullleaves.midnightconfig.cullRoots.tooltip"))