aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-08-10 20:36:07 +0200
committerLorenz <lo.scherf@gmail.com>2022-08-10 20:36:07 +0200
commit8cc58669da28b05d6ee5df2262caa43c89d32bab (patch)
tree7ccf59fac5baf9b8850a3e2c52db94703ddd1040 /src/main/java
parentb4a8874d034c441682c589956fcc56105d8445a8 (diff)
downloadNotEnoughUpdates-8cc58669da28b05d6ee5df2262caa43c89d32bab.tar.gz
NotEnoughUpdates-8cc58669da28b05d6ee5df2262caa43c89d32bab.tar.bz2
NotEnoughUpdates-8cc58669da28b05d6ee5df2262caa43c89d32bab.zip
fix bug: full crafting cost: zombie slayer
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/render/MinionHelperOverlayHover.java3
1 files changed, 3 insertions, 0 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 020351ca..5cfa14ae 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
@@ -91,6 +91,9 @@ public class MinionHelperOverlayHover {
Minion minion = (Minion) overviewLine;
MinionSource minionSource = minion.getMinionSource();
+ if (minion.getCustomSource() != null) {
+ minionSource = minion.getCustomSource();
+ }
lastHovered = minion;
String displayName = minion.getDisplayName();
lines.add("ยง9" + displayName + " " + minion.getTier());