From 71db3d02abed18ece3aee318bb29c6ff5699190a Mon Sep 17 00:00:00 2001 From: EggleEgg <125359838+EggleEgg@users.noreply.github.com> Date: Tue, 10 Feb 2026 18:41:49 +0100 Subject: [PATCH] If display item amount is > 1000 you shouldnt care about decimals --- core/src/mindustry/world/meta/StatValues.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/world/meta/StatValues.java b/core/src/mindustry/world/meta/StatValues.java index c6dd03db0b..d2f0c2efb1 100644 --- a/core/src/mindustry/world/meta/StatValues.java +++ b/core/src/mindustry/world/meta/StatValues.java @@ -241,7 +241,7 @@ public class StatValues{ if(amount != 0){ stack.add(new Table(t -> { t.left().bottom(); - t.add(amount >= 1000 ? UI.formatAmount(amount) : amount + "").name("stack amount").style(Styles.outlineLabel); + t.add(amount >= 1000 ? UI.formatAmount((int)amount) : amount + "").name("stack amount").style(Styles.outlineLabel); t.pack(); })); }