mirror of https://github.com/Minestom/Minestom.git
Replace char literal with unicode literal (#1430)
This commit is contained in:
parent
b37bef427f
commit
87c3dc3f76
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue