Fix usage of characters that can't be mapped to ascii

This commit is contained in:
Brady 2018-09-02 21:28:55 -05:00
parent 12ec7ea990
commit 5dbf1014b3
No known key found for this signature in database
GPG Key ID: 73A788379A197567
1 changed files with 7 additions and 1 deletions

View File

@ -33,7 +33,13 @@ import net.minecraft.util.text.TextFormatting;
*/
public interface Helper {
ITextComponent MESSAGE_PREFIX = new TextComponentString("§5[§dBaritone§5]§7");
ITextComponent MESSAGE_PREFIX = new TextComponentString(String.format(
"%s[%sBaritone%s]%s",
TextFormatting.DARK_PURPLE,
TextFormatting.LIGHT_PURPLE,
TextFormatting.DARK_PURPLE,
TextFormatting.GRAY
));
Minecraft mc = Minecraft.getMinecraft();