Skip to content

Commit 68dfa88

Browse files
committed
values have the highest priority
1 parent a39b437 commit 68dfa88

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common/src/main/java/revxrsal/commands/parameter/builtins/ValuesParameterTypeFactory.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ public T parse(@NotNull MutableStringStream input, @NotNull ExecutionContext<@No
7979
@Override public @NotNull SuggestionProvider<@NotNull CommandActor> defaultSuggestions() {
8080
return SuggestionProvider.of(values.value());
8181
}
82+
83+
@Override public @NotNull PrioritySpec parsePriority() {
84+
return PrioritySpec.highest();
85+
}
8286
};
8387
}
8488
}

0 commit comments

Comments
 (0)