Skip to content

Commit ba05c48

Browse files
committed
fix #996
1 parent 25909f7 commit ba05c48

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

FABRIC_CHANGELOG.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Change logging starts below:
1919
- Fix smart observers not updating their checked position (#1621)
2020
- Fix nonsense fluid unit option when display links measured items (#995)
2121
- Fix copycat panels with framed glass not hiding faces when using sodium (#1540)
22+
- Fix filtered Smart Observers stopping listing matching items after finding 1 non-matching item (#996)
2223
- Merge in 0.5.1.g/h (https://github.com/Creators-of-Create/Create/wiki/0.5.1g-&-h)
2324
- Merge in 0.5.1.i (https://github.com/Creators-of-Create/Create/wiki/0.5.1i)
2425
- Merge in 0.5.1.j (https://github.com/Creators-of-Create/Create/wiki/0.5.1j)

src/main/java/com/simibubi/create/foundation/item/CountedItemStackList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public CountedItemStackList(Storage<ItemVariant> inventory, FilteringBehaviour f
3030
ItemVariant resource = view.getResource();
3131
ItemStack stack = resource.toStack();
3232
if (!filteringBehaviour.test(stack))
33-
return;
33+
continue;
3434

3535
long amount = view.getAmount();
3636
add(stack, amount);

0 commit comments

Comments
 (0)