GregTech CE Unofficial

GregTech CE Unofficial

620k Downloads

withFormatting breaking color codes in formulas

Closed this issue · 0 comments

commented

GregTech CEu Version

Master

Modpack Used

No response

Addons Installed

No response

Environment

Singleplayer

New Worlds

Yes

Cross-Mod Interaction

No

Expected Behavior

Expected colors in Material formulas to work

Actual Behavior

If withFormatting is enabled, only color codes that use letters (and not numbers) work properly, and the rest are turned white, ostensibly due to how the automatic formatting interprets numbers:
Image
Image

Steps to Reproduce

Set a material's formula to something that uses a color code that has a number, eg "§cRed§e3(§9Blue§e4)§aGreen"

Additional Information

No response