Replace char literal with unicode literal (#1430)

This commit is contained in:
GreatWyrm 2022-10-07 06:40:58 -04:00 committed by GitHub
parent b37bef427f
commit 87c3dc3f76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ public class Sidebar implements Scoreboard {
* Creates a new {@link SidebarTeam}
*/
private void createTeam() {
this.entityName = ((char) 0xA7) + Integer.toHexString(colorName);
this.entityName = '\u00A7' + Integer.toHexString(colorName);
this.sidebarTeam = new SidebarTeam(teamName, content, Component.empty(), entityName);
}