aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-02 15:32:35 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-02 15:32:35 +0100
commitb07775e4b9e7d66c9d39c78093e7a11971b4e351 (patch)
treea724f9092c38807fbffebceb8208c4c480b37c77 /src/main/java/at/hannibal2/skyhanni
parent80456b0dfbe08a1ab149752f65e8f5e73dcf2e61 (diff)
downloadskyhanni-b07775e4b9e7d66c9d39c78093e7a11971b4e351.tar.gz
skyhanni-b07775e4b9e7d66c9d39c78093e7a11971b4e351.tar.bz2
skyhanni-b07775e4b9e7d66c9d39c78093e7a11971b4e351.zip
Changed color in minion craft helper.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt
index bae238577..6f80fa15e 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt
@@ -184,7 +184,8 @@ class MinionCraftHelper {
val percentage = have.toDouble() / needAmount
val itemName = NEUItems.getItemStack(rawId).name ?: "§cName??§f"
if (percentage >= 1) {
- display.add(" $itemName§8: §aDONE")
+ val color = if (itemId.startsWith("WOOD_")) "§7" else "§a"
+ display.add(" $itemName§8: ${color}DONE")
otherItems[itemId] = have - needAmount
} else {
val format = LorenzUtils.formatPercentage(percentage)