From 72add08a6dccae7dcfd186d1b0e882378f6730b5 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 14 Jan 2012 17:42:57 +0000 Subject: [PATCH] Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours By: Nathan Adams --- paper-api/src/main/java/org/bukkit/entity/Player.java | 1 + 1 file changed, 1 insertion(+) diff --git a/paper-api/src/main/java/org/bukkit/entity/Player.java b/paper-api/src/main/java/org/bukkit/entity/Player.java index 26b42dced..7947b771a 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Player.java +++ b/paper-api/src/main/java/org/bukkit/entity/Player.java @@ -50,6 +50,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer, Plugi * 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. + * Colors do not count towards the length limitation. *

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