display StatusDuration to one decimal place (#10908)
This commit is contained in:
@@ -710,7 +710,7 @@ public class StatValues{
|
||||
|
||||
if(type.status != StatusEffects.none){
|
||||
sep(bt, (type.status.hasEmoji() ? type.status.emoji() : "") + "[stat]" + type.status.localizedName + (type.status.reactive ? "" : "[lightgray] ~ [stat]" +
|
||||
((int)(type.statusDuration / 60f)) + "[lightgray] " + Core.bundle.get("unit.seconds"))).with(c -> withTooltip(c, type.status));
|
||||
Strings.autoFixed(type.statusDuration / 60f, 1) + "[lightgray] " + Core.bundle.get("unit.seconds"))).with(c -> withTooltip(c, type.status));
|
||||
}
|
||||
|
||||
if(!type.targetMissiles){
|
||||
|
||||
Reference in New Issue
Block a user