Skip to content

Commit

Permalink
update grapefruit, fix textcolormapper completions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamtomi committed Dec 9, 2024
1 parent b4f8df6 commit 55e1c45
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified libs/grapefruit-3.0.0-ALPHA.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public TextColor tryMap(final CommandContext<CommandSender> context, final Comma
@Override
public List<String> complete(final CommandContext<CommandSender> context, final String input) {
if (!input.isEmpty() && input.charAt(0) == HASH) {
if (input.length() > 7) {
if (input.length() >= 7) {
// The input is formatted as #xxxxxx, thus it's complete
return List.of();
}
Expand Down

0 comments on commit 55e1c45

Please sign in to comment.