diff --git a/CHANGELOG.md b/CHANGELOG.md index a8014d5..0ecdb08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.1.3] - 2024-06-20 + +### Fixed + +- Recipe transfer not working. + ## [0.1.2] - 2024-06-20 ### Fixed @@ -30,7 +36,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Support for REI collapsable entries. - Grid / REI search box synchronization options. -[Unreleased]: https://github.com/refinedmods/refinedstorage-rei-integration/compare/v0.1.2...HEAD +[Unreleased]: https://github.com/refinedmods/refinedstorage-rei-integration/compare/v0.1.3...HEAD + +[0.1.3]: https://github.com/refinedmods/refinedstorage-rei-integration/compare/v0.1.2...v0.1.3 [0.1.2]: https://github.com/refinedmods/refinedstorage-rei-integration/compare/v0.1.1...v0.1.2 diff --git a/refinedstorage-rei-integration-fabric/src/main/java/com/refinedmods/refinedstorage/rei/fabric/CraftingGridTransferHandler.java b/refinedstorage-rei-integration-fabric/src/main/java/com/refinedmods/refinedstorage/rei/fabric/CraftingGridTransferHandler.java index 262bed7..1bceb26 100644 --- a/refinedstorage-rei-integration-fabric/src/main/java/com/refinedmods/refinedstorage/rei/fabric/CraftingGridTransferHandler.java +++ b/refinedstorage-rei-integration-fabric/src/main/java/com/refinedmods/refinedstorage/rei/fabric/CraftingGridTransferHandler.java @@ -2,6 +2,7 @@ import java.awt.Color; import java.util.List; +import java.util.stream.Collectors; import com.mojang.blaze3d.vertex.PoseStack; import com.refinedmods.refinedstorage2.api.resource.list.ResourceList; @@ -83,7 +84,7 @@ private boolean isAvailable(final ResourceList available, final EntryIngredient private List> getInputs(final List ingredients) { return ingredients.stream() .map(this::convertIngredientToItemStacks) - .map(list -> list.stream().map(ItemResource::ofItemStack).toList()) + .map(list -> list.stream().map(ItemResource::ofItemStack).collect(Collectors.toList())) .toList(); } diff --git a/refinedstorage-rei-integration-forge/src/main/java/com/refinedmods/refinedstorage/rei/forge/CraftingGridTransferHandler.java b/refinedstorage-rei-integration-forge/src/main/java/com/refinedmods/refinedstorage/rei/forge/CraftingGridTransferHandler.java index e138f0d..5cfad0f 100644 --- a/refinedstorage-rei-integration-forge/src/main/java/com/refinedmods/refinedstorage/rei/forge/CraftingGridTransferHandler.java +++ b/refinedstorage-rei-integration-forge/src/main/java/com/refinedmods/refinedstorage/rei/forge/CraftingGridTransferHandler.java @@ -2,6 +2,7 @@ import java.awt.Color; import java.util.List; +import java.util.stream.Collectors; import com.mojang.blaze3d.vertex.PoseStack; import com.refinedmods.refinedstorage2.api.resource.list.ResourceList; @@ -83,7 +84,7 @@ private boolean isAvailable(final ResourceList available, final EntryIngredient private List> getInputs(final List ingredients) { return ingredients.stream() .map(this::convertIngredientToItemStacks) - .map(list -> list.stream().map(ItemResource::ofItemStack).toList()) + .map(list -> list.stream().map(ItemResource::ofItemStack).collect(Collectors.toList())) .toList(); }