From 76fba3eaed44f1086f1716a8b0f4b10bbc5f8ffa Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Thu, 20 Jun 2024 23:03:55 +0200 Subject: [PATCH] fix: recipe transfer being broken --- CHANGELOG.md | 1 + .../jei/common/CraftingGridRecipeTransferHandler.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83eab81..c79baa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Fixed - Potential loading order issues on Fabric. +- Broken recipe transfer. ## [0.2.1] - 2024-06-16 diff --git a/refinedstorage-jei-integration-common/src/main/java/com/refinedmods/refinedstorage/jei/common/CraftingGridRecipeTransferHandler.java b/refinedstorage-jei-integration-common/src/main/java/com/refinedmods/refinedstorage/jei/common/CraftingGridRecipeTransferHandler.java index 886224d..0be287d 100644 --- a/refinedstorage-jei-integration-common/src/main/java/com/refinedmods/refinedstorage/jei/common/CraftingGridRecipeTransferHandler.java +++ b/refinedstorage-jei-integration-common/src/main/java/com/refinedmods/refinedstorage/jei/common/CraftingGridRecipeTransferHandler.java @@ -85,7 +85,7 @@ private List> getInputs(final IRecipeSlotsView recipeSlots) { return recipeSlots.getSlotViews(RecipeIngredientRole.INPUT).stream().map(slotView -> { final List stacks = slotView.getItemStacks().collect(Collectors.toList()); prioritizeDisplayedStack(slotView, stacks); - return stacks.stream().map(ItemResource::ofItemStack).toList(); + return stacks.stream().map(ItemResource::ofItemStack).collect(Collectors.toList()); }).toList(); }