From 152105017dcec7921a6a5cb7374a676493fb40e9 Mon Sep 17 00:00:00 2001 From: mfnalex Date: Tue, 29 Aug 2023 00:56:12 +0200 Subject: [PATCH] added missing @NotNull to return value and String parameter of setBracketPlaceholders(Player, String) --- 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 d26ee96..632bd62 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java @@ -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); }