MineColonies

MineColonies

53M Downloads

Green text color overflowing in worker stats

danswann opened this issue ยท 0 comments

commented

Prerequisites

  • I am running the latest alpha version of MineColonies and Structurize for my Minecraft version.
  • I checked the MineColonies/Structurize wiki and made sure my issue is not covered there.
  • I made sure that this issue is not a duplicate of any existing issue.

Context

  • Minecraft Version: 1.16.5
  • MineColonies Version: 0.13.620-ALPHA
  • Structurize Version: 0.13.134-ALPHA
  • Related Mods and their Versions:

Expected behavior

Only the primary skill is highlighted in green

Actual behavior

All skills including and after the primary skill are highlighted green

Seems to be related to the fact that this citizen's stats are the perfect length to force a newline in the middle of the green stat, as this does not happen with all citizens nor all jobs.

image

image

Note also that Kamari's stats are listed in a different order than my other citizens (strength before knowledge, stamina before mana). If it's relevant, Kamari is my first new hire in v620, all the others are "older" from MineColonies' versions before the recent UI tweaks.

Steps to reproduce the issue

  1. Have an unemployed citizen with a similar length stats string
  2. Hit 'Manage Workers' on a hut for which a colored stat is broken by a newline

Viewers

  • Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
  • Add a comment if you have any insights or background information that isn't already part of the conversation.