Fix missing annotation

This commit is contained in:
William 2023-02-19 12:54:44 +00:00
parent d73530c903
commit 60baf597fd
No known key found for this signature in database

View File

@ -34,6 +34,7 @@ public enum Placeholder {
this.formatter = formatter;
}
@NotNull
public static String format(@NotNull String format, @NotNull Velocitab plugin, @NotNull TabPlayer player) {
for (Placeholder placeholder : values()) {
format = format.replace("%" + placeholder.name().toLowerCase() + "%", placeholder.formatter.apply(plugin, player));