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 | ce9b2f682672deff8d938162ca60119ee61fa774 (patch) | |
| tree | a724f9092c38807fbffebceb8208c4c480b37c77 | |
| parent | d37e94f6374a74ea9c0f3ef68056fcc84a29b240 (diff) | |
| download | SkyHanni-ce9b2f682672deff8d938162ca60119ee61fa774.tar.gz SkyHanni-ce9b2f682672deff8d938162ca60119ee61fa774.tar.bz2 SkyHanni-ce9b2f682672deff8d938162ca60119ee61fa774.zip | |
Changed color in minion craft helper.
| -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) |
