Fix usage of characters that can't be mapped to ascii
This commit is contained in:
parent
12ec7ea990
commit
5dbf1014b3
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user