From be956f52b0d55a80a21e454531fb5daabfffb497 Mon Sep 17 00:00:00 2001 From: mfnalex Date: Tue, 29 Aug 2023 00:55:28 +0200 Subject: [PATCH] added missing @NotNull to return value and List parameter of setBracketPlaceholders(Player, List) --- src/main/java/me/clip/placeholderapi/PlaceholderAPI.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java index a5228db..d26ee96 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java @@ -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 setBracketPlaceholders(Player player, List text) { + @NotNull + public static List setBracketPlaceholders(Player player, @NotNull List text) { return setBracketPlaceholders((OfflinePlayer) player, text); }