diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-08-10 20:36:07 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-08-10 20:36:07 +0200 |
commit | 8cc58669da28b05d6ee5df2262caa43c89d32bab (patch) | |
tree | 7ccf59fac5baf9b8850a3e2c52db94703ddd1040 /src/main/java | |
parent | b4a8874d034c441682c589956fcc56105d8445a8 (diff) | |
download | NotEnoughUpdates-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.java | 3 |
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()); |