diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-02 15:32:35 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-02 15:32:35 +0100 |
commit | b07775e4b9e7d66c9d39c78093e7a11971b4e351 (patch) | |
tree | a724f9092c38807fbffebceb8208c4c480b37c77 /src/main/java/at/hannibal2/skyhanni | |
parent | 80456b0dfbe08a1ab149752f65e8f5e73dcf2e61 (diff) | |
download | skyhanni-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.kt | 3 |
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) |