@@ -4102,10 +4102,10 @@ index 5c855dbd0da895392f7a6e92cdc90782baf614ad..1ada91d790abedbc9b3aeb6e96467a0d
4102
4102
4103
4103
/**
4104
4104
diff --git a/src/main/java/org/bukkit/scoreboard/Team.java b/src/main/java/org/bukkit/scoreboard/Team.java
4105
- index 0db7fe1b9fe5621ceed3f4f046691e359f5949dd..07a9fa68075a2c5f5a4a7519976b506526d95ca0 100644
4105
+ index 0db7fe1b9fe5621ceed3f4f046691e359f5949dd..47b10df619ad2520b9bb673e2220f36391680f1b 100644
4106
4106
--- a/src/main/java/org/bukkit/scoreboard/Team.java
4107
4107
+++ b/src/main/java/org/bukkit/scoreboard/Team.java
4108
- @@ -22,14 +22,102 @@ public interface Team {
4108
+ @@ -22,14 +22,100 @@ public interface Team {
4109
4109
*/
4110
4110
@NotNull
4111
4111
String getName() throws IllegalStateException;
@@ -4122,8 +4122,6 @@ index 0db7fe1b9fe5621ceed3f4f046691e359f5949dd..07a9fa68075a2c5f5a4a7519976b5065
4122
4122
+ * Sets the name displayed to entries for this team
4123
4123
+ *
4124
4124
+ * @param displayName New display name
4125
- + * @throws IllegalArgumentException if displayName is longer than 128
4126
- + * characters.
4127
4125
+ * @throws IllegalStateException if this team has been unregistered
4128
4126
+ */
4129
4127
+ void displayName(@Nullable net.kyori.adventure.text.Component displayName) throws IllegalStateException, IllegalArgumentException;
@@ -4208,7 +4206,7 @@ index 0db7fe1b9fe5621ceed3f4f046691e359f5949dd..07a9fa68075a2c5f5a4a7519976b5065
4208
4206
String getDisplayName() throws IllegalStateException;
4209
4207
4210
4208
/**
4211
- @@ -39,7 +127 ,9 @@ public interface Team {
4209
+ @@ -39,7 +125 ,9 @@ public interface Team {
4212
4210
* @throws IllegalArgumentException if displayName is longer than 128
4213
4211
* characters.
4214
4212
* @throws IllegalStateException if this team has been unregistered
@@ -4218,7 +4216,7 @@ index 0db7fe1b9fe5621ceed3f4f046691e359f5949dd..07a9fa68075a2c5f5a4a7519976b5065
4218
4216
void setDisplayName(@NotNull String displayName) throws IllegalStateException, IllegalArgumentException;
4219
4217
4220
4218
/**
4221
- @@ -47,8 +137 ,10 @@ public interface Team {
4219
+ @@ -47,8 +135 ,10 @@ public interface Team {
4222
4220
*
4223
4221
* @return Team prefix
4224
4222
* @throws IllegalStateException if this team has been unregistered
@@ -4229,7 +4227,7 @@ index 0db7fe1b9fe5621ceed3f4f046691e359f5949dd..07a9fa68075a2c5f5a4a7519976b5065
4229
4227
String getPrefix() throws IllegalStateException;
4230
4228
4231
4229
/**
4232
- @@ -59,7 +151 ,9 @@ public interface Team {
4230
+ @@ -59,7 +149 ,9 @@ public interface Team {
4233
4231
* @throws IllegalArgumentException if prefix is longer than 64
4234
4232
* characters
4235
4233
* @throws IllegalStateException if this team has been unregistered
@@ -4239,7 +4237,7 @@ index 0db7fe1b9fe5621ceed3f4f046691e359f5949dd..07a9fa68075a2c5f5a4a7519976b5065
4239
4237
void setPrefix(@NotNull String prefix) throws IllegalStateException, IllegalArgumentException;
4240
4238
4241
4239
/**
4242
- @@ -67,8 +161 ,10 @@ public interface Team {
4240
+ @@ -67,8 +159 ,10 @@ public interface Team {
4243
4241
*
4244
4242
* @return the team's current suffix
4245
4243
* @throws IllegalStateException if this team has been unregistered
@@ -4250,7 +4248,7 @@ index 0db7fe1b9fe5621ceed3f4f046691e359f5949dd..07a9fa68075a2c5f5a4a7519976b5065
4250
4248
String getSuffix() throws IllegalStateException;
4251
4249
4252
4250
/**
4253
- @@ -79,7 +175 ,9 @@ public interface Team {
4251
+ @@ -79,7 +173 ,9 @@ public interface Team {
4254
4252
* @throws IllegalArgumentException if suffix is longer than 64
4255
4253
* characters
4256
4254
* @throws IllegalStateException if this team has been unregistered
@@ -4260,7 +4258,7 @@ index 0db7fe1b9fe5621ceed3f4f046691e359f5949dd..07a9fa68075a2c5f5a4a7519976b5065
4260
4258
void setSuffix(@NotNull String suffix) throws IllegalStateException, IllegalArgumentException;
4261
4259
4262
4260
/**
4263
- @@ -90,8 +188 ,10 @@ public interface Team {
4261
+ @@ -90,8 +186 ,10 @@ public interface Team {
4264
4262
*
4265
4263
* @return team color, defaults to {@link ChatColor#RESET}
4266
4264
* @throws IllegalStateException if this team has been unregistered
@@ -4271,7 +4269,7 @@ index 0db7fe1b9fe5621ceed3f4f046691e359f5949dd..07a9fa68075a2c5f5a4a7519976b5065
4271
4269
ChatColor getColor() throws IllegalStateException;
4272
4270
4273
4271
/**
4274
- @@ -102,7 +202 ,9 @@ public interface Team {
4272
+ @@ -102,7 +200 ,9 @@ public interface Team {
4275
4273
*
4276
4274
* @param color new color, must be non-null. Use {@link ChatColor#RESET} for
4277
4275
* no color
0 commit comments