Update RequiredArgumentBuilder.java

Make the constructor protected so it can be inherited
This commit is contained in:
Soni L 2022-12-02 08:32:46 -03:00 committed by GitHub
parent a6c4baa1b6
commit 06a66af8dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ public class RequiredArgumentBuilder<S, T> extends ArgumentBuilder<S, RequiredAr
private final ArgumentType<T> type;
private SuggestionProvider<S> suggestionsProvider = null;
private RequiredArgumentBuilder(final String name, final ArgumentType<T> type) {
protected RequiredArgumentBuilder(final String name, final ArgumentType<T> type) {
this.name = name;
this.type = type;
}