From 9784e9f7228fc0aa3ca814e3830dbd81996a3693 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Tue, 15 Dec 2020 20:45:35 +0800 Subject: wip Signed-off-by: shedaniel --- .../src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java') diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java index 6a15f25c8..d48fcec02 100644 --- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java +++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java @@ -206,7 +206,7 @@ public class RecipeHelperImpl implements RecipeHelper { } for (EntryStack stack : usagesFor) { if (isStackWorkStationOfCategory(categoryId, stack)) { - set.addAll(allRecipesFromCategory); + set.addAll(CollectionUtils.filter(allRecipesFromCategory, this::isDisplayVisible)); break; } } -- cgit