Sandertv / gophertunnel

General purpose library for Minecraft Bedrock Edition software written in Go
MIT License
423 stars 96 forks source link

minecraft/text: Invalid colour tags get replaced with an empty string #75

Closed TwistedAsylumMC closed 3 years ago

TwistedAsylumMC commented 3 years ago

For example

text.Colourf("<greyabc</grey>")

would return an empty string as the closing > is missing from the opening <grey> tag, creating an invalid colour (greyabc</grey)