From 9a78927ac19d6adc4de71d9c5686c034299bbed5 Mon Sep 17 00:00:00 2001 From: BuildTools <46540330+willkroboth@users.noreply.github.com> Date: Mon, 25 Dec 2023 15:43:23 -0500 Subject: [PATCH] Make `RequiredArgumentBuilder`'s constructor protected --- .../com/mojang/brigadier/builder/RequiredArgumentBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/mojang/brigadier/builder/RequiredArgumentBuilder.java b/src/main/java/com/mojang/brigadier/builder/RequiredArgumentBuilder.java index a09b9e15..20f282c1 100644 --- a/src/main/java/com/mojang/brigadier/builder/RequiredArgumentBuilder.java +++ b/src/main/java/com/mojang/brigadier/builder/RequiredArgumentBuilder.java @@ -13,7 +13,7 @@ public class RequiredArgumentBuilder extends ArgumentBuilder type; private SuggestionProvider suggestionsProvider = null; - private RequiredArgumentBuilder(final String name, final ArgumentType type) { + protected RequiredArgumentBuilder(final String name, final ArgumentType type) { this.name = name; this.type = type; }