From 75f8396d32a8c80cd6109db54c1cbe6cc2924cff Mon Sep 17 00:00:00 2001 From: LeoDog896 Date: Wed, 28 Oct 2020 11:09:40 -0400 Subject: [PATCH] Expose ArgumentWord restrictions as protected --- .../minestom/server/command/builder/arguments/ArgumentWord.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/command/builder/arguments/ArgumentWord.java b/src/main/java/net/minestom/server/command/builder/arguments/ArgumentWord.java index 01fd2ed0b..e9ba63506 100644 --- a/src/main/java/net/minestom/server/command/builder/arguments/ArgumentWord.java +++ b/src/main/java/net/minestom/server/command/builder/arguments/ArgumentWord.java @@ -16,7 +16,7 @@ public class ArgumentWord extends Argument { public static final int SPACE_ERROR = 1; public static final int RESTRICTION_ERROR = 2; - private String[] restrictions; + protected String[] restrictions; public ArgumentWord(String id) { super(id, false);