Colours from item custom names leak into /give output #5342
Labels
Category: UI
Related to the user interface (e.g. commands, terminal output)
Easy task
Probably really easy to do, good task for first-time contributors
Status: Debugged
Cause of the bug has been found, but not fixed
Issue description
Since the formatting codes from
Item->getName()
are not contained when embedding them into the translations, this happens:In this image, only the
Legendary
part should be grey. The rest of the message should be white.This is likely a problem in other areas too, and it's rather inconvenient to fix in versions prior to the introduction of
TextFormat::addBase()
, so this probably won't be fixed until after 4.11.Steps to reproduce the issue
OS and versions
The text was updated successfully, but these errors were encountered: