Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours
This commit is contained in:
parent
2d1e365c43
commit
2c1cd77cdc
@ -50,6 +50,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer, Plugi
|
|||||||
* Sets the name that is shown on the in-game player list.
|
* Sets the name that is shown on the in-game player list.
|
||||||
* <p>
|
* <p>
|
||||||
* The name cannot be longer than 16 characters, but {@link ChatColor} is supported.
|
* The name cannot be longer than 16 characters, but {@link ChatColor} is supported.
|
||||||
|
* Colors do not count towards the length limitation.
|
||||||
* <p>
|
* <p>
|
||||||
* If the value is null, the name will be identical to {@link #getName()}.
|
* If the value is null, the name will be identical to {@link #getName()}.
|
||||||
* <p>
|
* <p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user