forked from Upstream/Velocitab
Fix missing annotation
This commit is contained in:
parent
d73530c903
commit
60baf597fd
@ -34,6 +34,7 @@ public enum Placeholder {
|
|||||||
this.formatter = formatter;
|
this.formatter = formatter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@NotNull
|
||||||
public static String format(@NotNull String format, @NotNull Velocitab plugin, @NotNull TabPlayer player) {
|
public static String format(@NotNull String format, @NotNull Velocitab plugin, @NotNull TabPlayer player) {
|
||||||
for (Placeholder placeholder : values()) {
|
for (Placeholder placeholder : values()) {
|
||||||
format = format.replace("%" + placeholder.name().toLowerCase() + "%", placeholder.formatter.apply(plugin, player));
|
format = format.replace("%" + placeholder.name().toLowerCase() + "%", placeholder.formatter.apply(plugin, player));
|
||||||
|
Loading…
Reference in New Issue
Block a user