aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-03 15:51:09 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-03 15:51:09 +0100
commit6cb84884eaab665c01112467799088c2c9eac6c0 (patch)
tree382e5fec8f1bc96d25089d32ba26eefcc9ad5138 /src
parentb7c45e41eb3360d4ece3e028ba68b962721c095a (diff)
downloadskyhanni-6cb84884eaab665c01112467799088c2c9eac6c0.tar.gz
skyhanni-6cb84884eaab665c01112467799088c2c9eac6c0.tar.bz2
skyhanni-6cb84884eaab665c01112467799088c2c9eac6c0.zip
Fixed bug with minion skins and minion craft helper in bingo.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt2
1 files changed, 1 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 b52db6139..da72f3e78 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt
@@ -50,7 +50,7 @@ class MinionCraftHelper {
val mainInventory = Minecraft.getMinecraft()?.thePlayer?.inventory?.mainInventory ?: return
hasMinionInInventory = mainInventory
.mapNotNull { it?.name?.removeColor() }
- .any { it.contains(" Minion ") }
+ .any { it.contains(" Minion ") && !it.contains(" Minion Skin") }
}
if (tick % (60 * 2) == 0) {