fix: actually render color codes for texture packs

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-09-08 11:54:04 +02:00
parent 23fc453fae
commit ebbcc9f6da
No known key found for this signature in database
GPG Key ID: C10411294912A422

View File

@ -155,7 +155,7 @@ void InfoFrame::updateWithResourcePack(ResourcePack& resource_pack)
void InfoFrame::updateWithTexturePack(TexturePack& texture_pack) void InfoFrame::updateWithTexturePack(TexturePack& texture_pack)
{ {
setName(texture_pack.name()); setName(texture_pack.name());
setDescription(texture_pack.description()); setDescription(renderColorCodes(texture_pack.description()));
setImage(texture_pack.image({64, 64})); setImage(texture_pack.image({64, 64}));
} }