From 22002f2df339e794b86871850354fdb211176401 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 5 Jun 2023 22:41:29 +0200 Subject: Fixed bingo minion craft helper detecting crafted minions from crafted minions inventory --- .../java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni') 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 62077f08c..3083f6414 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt @@ -90,7 +90,7 @@ class MinionCraftHelper { tierOneMinionsDone.clear() } - private fun loadFromInventory(mainInventory: Array): Pair, MutableMap> { + private fun loadFromInventory(mainInventory: Array): Pair, MutableMap> { init() val minions = mutableMapOf() @@ -277,7 +277,7 @@ class MinionCraftHelper { val name = b.name ?: continue if (!name.startsWith("§e")) continue - val internalName = NEUItems.getInternalName("$name I") + val internalName = NEUItems.getInternalName("$name I").replace("MINION", "GENERATOR").replace(";", "_") if (!tierOneMinionsDone.contains(internalName)) { tierOneMinionsDone.add(internalName) } -- cgit