aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-07-30 23:50:27 +0200
committerLorenz <lo.scherf@gmail.com>2022-07-30 23:50:27 +0200
commita01611e90fa2229dcfb3bd91ccbe32dff445d84f (patch)
tree4355abe85f6739986fdc201e75525e55501c71ee /src/main
parent6b0c7602ec6d919ae45bd8aa1cc8b8534cb6c6e6 (diff)
downloadNotEnoughUpdates-a01611e90fa2229dcfb3bd91ccbe32dff445d84f.tar.gz
NotEnoughUpdates-a01611e90fa2229dcfb3bd91ccbe32dff445d84f.tar.bz2
NotEnoughUpdates-a01611e90fa2229dcfb3bd91ccbe32dff445d84f.zip
fixed typo
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/render/MinionHelperOverlay.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/render/MinionHelperOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/render/MinionHelperOverlay.java
index 1c12bc8e..cd4762f1 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/render/MinionHelperOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/render/MinionHelperOverlay.java
@@ -190,11 +190,12 @@ public class MinionHelperOverlay {
}
continue;
}
+
displayName = displayName.replace(" Minion", "");
String format = manager.getPriceCalculation().calculateUpgradeCostsFormat(minion, true);
String requirementFormat = !minion.doesMeetRequirements() ? "§7§o" : "";
renderMap.put(
- requirementFormat + displayName + "§r " + requirementFormat + minion.getTier() + " §r§8- " + format,
+ requirementFormat + displayName + " " + minion.getTier() + " §r§8- " + format,
minion
);