From 9b7ee0259912ad1c6f7522f0dc2d158dd272b726 Mon Sep 17 00:00:00 2001 From: Lorenz Date: Tue, 16 Aug 2022 17:35:01 +0200 Subject: added number to stuff with amount of 1 --- .../miscgui/minionhelper/render/MinionHelperOverlayHover.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/render/MinionHelperOverlayHover.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/render/MinionHelperOverlayHover.java index ff2024d4..e3603618 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/render/MinionHelperOverlayHover.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/render/MinionHelperOverlayHover.java @@ -237,11 +237,10 @@ public class MinionHelperOverlayHover { } String name = NotEnoughUpdates.INSTANCE.manager.getDisplayName(internalName); - String amountText = amount != 1 ? amount + "§7x " : ""; long price = manager.getPriceCalculation().getPrice(internalName); String priceFormat = manager.getPriceCalculation().formatCoins( price * amount); - lines.add(" §8- §a" + amountText + "§f" + name + " " + priceFormat); + lines.add(" §8- §a" + amount + "§7x §f" + name + " " + priceFormat); } } -- cgit