summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-11-23 14:32:28 +1100
committermd_5 <git@md-5.net>2018-11-23 14:32:28 +1100
commit9a793cce8c9257ce85069c531486f369ad6328f1 (patch)
treef060a70990e573e92dcfb76ff93c9574d3b4679e
parent7137829e0d029c4076dee343a66180633b2f67e2 (diff)
downloadbukkit-9a793cce8c9257ce85069c531486f369ad6328f1.tar
bukkit-9a793cce8c9257ce85069c531486f369ad6328f1.tar.gz
bukkit-9a793cce8c9257ce85069c531486f369ad6328f1.tar.lz
bukkit-9a793cce8c9257ce85069c531486f369ad6328f1.tar.xz
bukkit-9a793cce8c9257ce85069c531486f369ad6328f1.zip
Remove no longer applicable caveats to setPlayerListName
-rw-r--r--src/main/java/org/bukkit/entity/Player.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
index 769b997b..9399a420 100644
--- a/src/main/java/org/bukkit/entity/Player.java
+++ b/src/main/java/org/bukkit/entity/Player.java
@@ -63,23 +63,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
/**
* Sets the name that is shown on the in-game player list.
* <p>
- * The name cannot be longer than 16 characters, but {@link ChatColor} is
- * supported.
- * <p>
* If the value is null, the name will be identical to {@link #getName()}.
- * <p>
- * This name is case sensitive and unique, two names with different casing
- * will appear as two different people. If a player joins afterwards with
- * a name that conflicts with a player's custom list name, the joining
- * player's player list name will have a random number appended to it (1-2
- * characters long in the default implementation). If the joining player's
- * name is 15 or 16 characters long, part of the name will be truncated at
- * the end to allow the addition of the two digits.
*
* @param name new player list name
- * @throws IllegalArgumentException if the name is already used by someone
- * else
- * @throws IllegalArgumentException if the length of the name is too long
*/
public void setPlayerListName(String name);