summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-16 19:15:19 +1000
committermd_5 <git@md-5.net>2018-07-16 19:15:19 +1000
commit1d21dc022e7e6905ef64f54b165e7559dfa40ade (patch)
treefec78696387bf94e98422ba2b8f89b03c9b58083
parent55a3379d9bcd38efb5c4f4d0db8bcee39db853df (diff)
downloadbukkit-1d21dc022e7e6905ef64f54b165e7559dfa40ade.tar
bukkit-1d21dc022e7e6905ef64f54b165e7559dfa40ade.tar.gz
bukkit-1d21dc022e7e6905ef64f54b165e7559dfa40ade.tar.lz
bukkit-1d21dc022e7e6905ef64f54b165e7559dfa40ade.tar.xz
bukkit-1d21dc022e7e6905ef64f54b165e7559dfa40ade.zip
SPIGOT-4017: Increase Team related length limits
-rw-r--r--src/main/java/org/bukkit/scoreboard/Team.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/scoreboard/Team.java b/src/main/java/org/bukkit/scoreboard/Team.java
index 92174e81..c641bc4f 100644
--- a/src/main/java/org/bukkit/scoreboard/Team.java
+++ b/src/main/java/org/bukkit/scoreboard/Team.java
@@ -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
*/