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

This commit is contained in:
mfnalex 2023-08-29 00:55:28 +02:00
parent 195158b18b
commit be956f52b0
No known key found for this signature in database
GPG Key ID: 4A5852356225BAE1
1 changed files with 2 additions and 1 deletions

View File

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