Skip to content

Commit

Permalink
Use method instead of constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Almighty-Satan committed Mar 5, 2024
1 parent 80ba151 commit 26e775c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ interface Component {
}

static @NotNull Component placeholder(@NotNull String raw, @NotNull List<@NotNull Component> arguments, @NotNull PlaceholderResolver placeholderResolver) {
String key = arguments.remove(0).value(null, PlaceholderResolver.EMPTY);
String key = arguments.remove(0).value(null, PlaceholderResolver.empty());

if (key.isEmpty())
return simple(raw);
Expand Down

0 comments on commit 26e775c

Please sign in to comment.