aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/render/MinionHelperOverlayHover.java3
1 files changed, 1 insertions, 2 deletions
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);
}
}