Skip to content

Commit

Permalink
Fixed Bingo Minion Craft Helper not working
Browse files Browse the repository at this point in the history
  • Loading branch information
hannibal002 committed Feb 7, 2025
1 parent 0fce962 commit 91ef072
Showing 1 changed file with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,16 @@ object MinionCraftHelper {

for (item in mainInventory) {
val name = item.name.removeColor()
if (item.hasEnchantments()) continue
val rawId = item.getInternalName()
if (!isMinionName(name)) {
if (!allIngredients.contains(rawId)) continue
if (!isAllowed(allMinions, rawId)) continue

if (
item.hasEnchantments() ||
!isMinionName(name) ||
!allIngredients.contains(rawId) ||
!isAllowed(allMinions, rawId)
) continue

val (itemId, multiplier) = NeuItems.getPrimitiveMultiplier(rawId)
val old = otherItems.getOrDefault(itemId, 0)
otherItems[itemId] = old + item.stackSize * multiplier
val (itemId, multiplier) = NeuItems.getPrimitiveMultiplier(rawId)
val old = otherItems.getOrDefault(itemId, 0)
otherItems[itemId] = old + item.stackSize * multiplier
}
}

FirstMinionTier.firstMinionTier(otherItems, minions, tierOneMinions, tierOneMinionsDone)
Expand Down

0 comments on commit 91ef072

Please sign in to comment.