diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-12-15 20:45:35 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-12-15 20:45:35 +0800 |
| commit | 9784e9f7228fc0aa3ca814e3830dbd81996a3693 (patch) | |
| tree | e6b815c435b293ec5714dee1e5040a136b6ad10f /RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java | |
| parent | 1f6137d24153b62c42da129ce5d6373bbf78ee34 (diff) | |
| download | RoughlyEnoughItems-9784e9f7228fc0aa3ca814e3830dbd81996a3693.tar.gz RoughlyEnoughItems-9784e9f7228fc0aa3ca814e3830dbd81996a3693.tar.bz2 RoughlyEnoughItems-9784e9f7228fc0aa3ca814e3830dbd81996a3693.zip | |
wip
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java')
| -rw-r--r-- | RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |
