From 760dc15ba71dd69a9f78eacdf1843594f93c7ddf Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 5 Jan 2019 16:21:07 +1100 Subject: [PATCH] Note maximum objective score length in documentation By: md_5 --- paper-api/src/main/java/org/bukkit/scoreboard/Objective.java | 1 + 1 file changed, 1 insertion(+) 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; }