added missing @NotNull to return value and String parameter of setBracketPlaceholders(Player, String)

This commit is contained in:
mfnalex 2023-08-29 00:56:12 +02:00
parent be956f52b0
commit 152105017d
No known key found for this signature in database
GPG Key ID: 4A5852356225BAE1

View File

@ -150,7 +150,8 @@ public final class PlaceholderAPI {
* @param text Text to set the placeholder values in
* @return String containing all translated placeholders
*/
public static String setBracketPlaceholders(Player player, String text) {
@NotNull
public static String setBracketPlaceholders(Player player, @NotNull String text) {
return setBracketPlaceholders((OfflinePlayer) player, text);
}