From 9a793cce8c9257ce85069c531486f369ad6328f1 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 23 Nov 2018 14:32:28 +1100 Subject: Remove no longer applicable caveats to setPlayerListName --- src/main/java/org/bukkit/entity/Player.java | 14 -------------- 1 file changed, 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. *

- * The name cannot be longer than 16 characters, but {@link ChatColor} is - * supported. - *

* If the value is null, the name will be identical to {@link #getName()}. - *

- * 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); -- cgit v1.2.3