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

View File

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