aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLulonaut <lulonaut@lulonaut.dev>2024-04-12 14:36:55 +0200
committerGitHub <noreply@github.com>2024-04-12 14:36:55 +0200
commit2811e6428c76a6f2fb9d840cc3279d00fc0aa819 (patch)
treea8e499801f3698c351b11565618b95233ccf6a48 /src
parentafd3f0f861ebe7f8957eb6abc6e19f92c7b5896a (diff)
downloadNotEnoughUpdates-2811e6428c76a6f2fb9d840cc3279d00fc0aa819.tar.gz
NotEnoughUpdates-2811e6428c76a6f2fb9d840cc3279d00fc0aa819.tar.bz2
NotEnoughUpdates-2811e6428c76a6f2fb9d840cc3279d00fc0aa819.zip
meta: Add back mithril commission icon (#1091)
add back mithril commission icon
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
index 83a860d0..7871afed 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
@@ -831,6 +831,8 @@ public class MiningOverlay extends TextTabOverlay {
} else {
if (beforeColon.startsWith("Forge")) {
icon = miningOverlayCommissionItems.get("Forge");
+ } else if (beforeColon.contains("Mithril")) {
+ icon = miningOverlayCommissionItems.get("Mithril");
} else if (beforeColon.endsWith(" Gemstone Collector")) {
String gemName = "ROUGH_"
+ beforeColon.replace(" Gemstone Collector", "").toUpperCase() + "_GEM";