diff --git a/paper-api/src/main/java/org/bukkit/scoreboard/Objective.java b/paper-api/src/main/java/org/bukkit/scoreboard/Objective.java index cc3a3e04db..9876debdfe 100644 --- a/paper-api/src/main/java/org/bukkit/scoreboard/Objective.java +++ b/paper-api/src/main/java/org/bukkit/scoreboard/Objective.java @@ -121,6 +121,7 @@ public interface Objective { * @return Score tracking the Objective and entry specified * @throws IllegalArgumentException if entry is null * @throws IllegalStateException if this objective has been unregistered + * @throws IllegalArgumentException if entry is longer than 40 characters. */ Score getScore(String entry) throws IllegalArgumentException, IllegalStateException; }