mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -50,6 +50,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer, Plugi
|
||||
* 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.
|
||||
* Colors do not count towards the length limitation.
|
||||
* <p>
|
||||
* If the value is null, the name will be identical to {@link #getName()}.
|
||||
* <p>
|
||||
|
Reference in New Issue
Block a user