Special colons stop label-content separation working
Closed this issue · 1 comments
Describe the bug
Some languages use special colons (eg: Chinese uses ":" as colon), which will make the drawStringWithLabel method works bad. The label will follow content color since it cannot find ":".
String label = rawString.substring(0, rawString.indexOf(":") + 1);
String content = rawString.substring(rawString.indexOf(":") + 1);
To Reproduce
No response
Expected behavior
Labels and contents have the proper color.
Mod Version
No response
Minecraft Version
No response
Modloader
No response
Crash Log (if applicable)
No response
Additional context
No response