diff --git a/fabric-1.20.1/src/main/java/net/william278/uniform/fabric/mixins/ArgumentNodeMixin.java b/fabric-1.20.1/src/main/java/net/william278/uniform/fabric/mixins/ArgumentNodeMixin.java index 1f291c1..dd6e499 100644 --- a/fabric-1.20.1/src/main/java/net/william278/uniform/fabric/mixins/ArgumentNodeMixin.java +++ b/fabric-1.20.1/src/main/java/net/william278/uniform/fabric/mixins/ArgumentNodeMixin.java @@ -39,12 +39,12 @@ import org.spongepowered.asm.mixin.injection.Redirect; public class ArgumentNodeMixin { @Invoker("") - static ArgumentNode createArgumentNode(String name, ArgumentSerializer.ArgumentTypeProperties properties, @Nullable Identifier id) { + private static ArgumentNode createArgumentNode(String name, ArgumentSerializer.ArgumentTypeProperties properties, @Nullable Identifier id) { throw new AssertionError(); } @Redirect(method = "(Lcom/mojang/brigadier/tree/ArgumentCommandNode;)V", at = @At("HEAD")) - static ArgumentNode onConstruct(ArgumentCommandNode node) { + private static ArgumentNode onConstruct(ArgumentCommandNode node) { ArgumentSerializer.ArgumentTypeProperties properties; try { properties = ArgumentTypes.get(node.getType()).getArgumentTypeProperties(node.getType()); diff --git a/fabric-1.20.6/src/main/java/net/william278/uniform/fabric/mixins/ArgumentNodeMixin.java b/fabric-1.20.6/src/main/java/net/william278/uniform/fabric/mixins/ArgumentNodeMixin.java index 1f291c1..dd6e499 100644 --- a/fabric-1.20.6/src/main/java/net/william278/uniform/fabric/mixins/ArgumentNodeMixin.java +++ b/fabric-1.20.6/src/main/java/net/william278/uniform/fabric/mixins/ArgumentNodeMixin.java @@ -39,12 +39,12 @@ import org.spongepowered.asm.mixin.injection.Redirect; public class ArgumentNodeMixin { @Invoker("") - static ArgumentNode createArgumentNode(String name, ArgumentSerializer.ArgumentTypeProperties properties, @Nullable Identifier id) { + private static ArgumentNode createArgumentNode(String name, ArgumentSerializer.ArgumentTypeProperties properties, @Nullable Identifier id) { throw new AssertionError(); } @Redirect(method = "(Lcom/mojang/brigadier/tree/ArgumentCommandNode;)V", at = @At("HEAD")) - static ArgumentNode onConstruct(ArgumentCommandNode node) { + private static ArgumentNode onConstruct(ArgumentCommandNode node) { ArgumentSerializer.ArgumentTypeProperties properties; try { properties = ArgumentTypes.get(node.getType()).getArgumentTypeProperties(node.getType()); diff --git a/gradle.properties b/gradle.properties index 8635fbc..3482bf1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,6 +3,6 @@ javaVersion=17 org.gradle.jvmargs='-Dfile.encoding=UTF-8' org.gradle.daemon=true -library_version=1.0.10 +library_version=1.0.11 library_archive=uniform library_description=Cross-platform wrapper for making Brigadier commands, based on BrigadierWrapper by Tofaa2, itself inspired by emortalmcs command system. \ No newline at end of file