From 2c1cd77cdca435e855fa5cd1844c697b029cad32 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Sat, 14 Jan 2012 17:42:57 +0000 Subject: Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours --- src/main/java/org/bukkit/entity/Player.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java') diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java index 26b42dce..7947b771 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/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()}. *

-- cgit v1.2.3