Note maximum objective score length in documentation

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-01-05 16:21:07 +11:00
parent b6c8163a58
commit 760dc15ba7

View file

@ -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;
}