Use ChatColor.COLOR_CHAR

This commit is contained in:
creeper123123321 2018-11-04 10:51:29 -02:00
parent 437b02c961
commit bec27e0fa6
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -939,7 +939,7 @@ public class Protocol1_13To1_12_2 extends Protocol {
if (rewrite == null) {
rewrite = colorChar;
}
newName.append('§').append(rewrite);
newName.append(ChatColor.COLOR_CHAR).append(rewrite);
}
name = newName.toString();
}