SPIGOT-4017: Increase Team related length limits

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2018-07-16 19:15:19 +10:00
parent a1a8d19aaf
commit 866302fa60

View file

@ -33,7 +33,7 @@ public interface Team {
* Sets the name displayed to entries for this team
*
* @param displayName New display name
* @throws IllegalArgumentException if displayName is longer than 32
* @throws IllegalArgumentException if displayName is longer than 64
* characters.
* @throws IllegalStateException if this team has been unregistered
*/
@ -52,7 +52,7 @@ public interface Team {
*
* @param prefix New prefix
* @throws IllegalArgumentException if prefix is null
* @throws IllegalArgumentException if prefix is longer than 16
* @throws IllegalArgumentException if prefix is longer than 32
* characters
* @throws IllegalStateException if this team has been unregistered
*/
@ -71,7 +71,7 @@ public interface Team {
*
* @param suffix the new suffix for this team.
* @throws IllegalArgumentException if suffix is null
* @throws IllegalArgumentException if suffix is longer than 16
* @throws IllegalArgumentException if suffix is longer than 32
* characters
* @throws IllegalStateException if this team has been unregistered
*/