[SPIGOT-2711] getListName removes black color Created: 04/Oct/16 Updated: 05/Oct/16 Resolved: 05/Oct/16 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Pablete1234 | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Description |
CraftPlayer.java Line 184 calls CraftChatMessage.fromString(name) that calls: CraftChatMessage.fromString(name, EnumChatFormat.BLACK) , as a default color, that means, that if a player's name starts with black, it will show white. the fix is easy, just call CraftChatMessage.fromString(name, EnumChatFormat.WHITE) instead. |