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, 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());