aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/bingo
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-23 14:37:48 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-23 14:37:48 +0100
commit9b8b9c442e51c471f85361f79341ce998f8da2eb (patch)
tree1403bc700e84fc86f3fa22318485b58e8dc71a38 /src/main/java/at/hannibal2/skyhanni/features/bingo
parente7c8613f2bfbf5c93479e63c5d6fca78b525cfc4 (diff)
downloadskyhanni-9b8b9c442e51c471f85361f79341ce998f8da2eb.tar.gz
skyhanni-9b8b9c442e51c471f85361f79341ce998f8da2eb.tar.bz2
skyhanni-9b8b9c442e51c471f85361f79341ce998f8da2eb.zip
Created CropType
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/bingo')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt4
1 files changed, 1 insertions, 3 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 17d531dd6..b27a6290e 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/MinionCraftHelper.kt
@@ -13,7 +13,6 @@ import at.hannibal2.skyhanni.utils.RenderUtils.renderStrings
import at.hannibal2.skyhanni.utils.StringUtils.removeColor
import io.github.moulberry.notenoughupdates.NotEnoughUpdates
import io.github.moulberry.notenoughupdates.recipes.CraftingRecipe
-import io.github.moulberry.notenoughupdates.recipes.NeuRecipe
import net.minecraft.client.Minecraft
import net.minecraft.item.ItemStack
import net.minecraftforge.event.world.WorldEvent
@@ -191,8 +190,7 @@ class MinionCraftHelper {
val minionName = "ยง9$name Minion $nextTier"
display.add(minionName)
val nextMinionId = minionId.addOneToId()
- val recipes: List<NeuRecipe> = NEUItems.getRecipes(nextMinionId)
- for (recipe in recipes) {
+ for (recipe in NEUItems.getRecipes(nextMinionId)) {
if (recipe !is CraftingRecipe) continue
val output = recipe.output
val internalItemId = output.internalItemId