Minor fix

This commit is contained in:
Anuken 2024-09-20 14:04:55 -04:00
parent 65e7891991
commit 0c540f9527

View File

@ -150,7 +150,7 @@ public class StatValues{
t.add(Strings.autoFixed(amount, 2)).style(Styles.outlineLabel); t.add(Strings.autoFixed(amount, 2)).style(Styles.outlineLabel);
add(t); add(t);
} }
}}).size(iconMed).padRight(3 + (amount != 0 && Strings.autoFixed(amount, 2).length() > 2 ? 8 : 0)); }}).size(iconMed).padRight(3 + (amount != 0 && Strings.autoFixed(amount, 2).length() > 2 ? 8 : 0)).with(s -> withTooltip(s, liquid, false));
if(perSecond){ if(perSecond){
t.add(StatUnit.perSecond.localized()).padLeft(2).padRight(5).color(Color.lightGray).style(Styles.outlineLabel); t.add(StatUnit.perSecond.localized()).padLeft(2).padRight(5).color(Color.lightGray).style(Styles.outlineLabel);