Skip to content

Commit

Permalink
maybe fix #941
Browse files Browse the repository at this point in the history
  • Loading branch information
TropheusJ committed Feb 14, 2024
1 parent 3bd816c commit b3dd5c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FABRIC_CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ Change logging starts below:
----------
- update to patch F
- fix schematic-printing deployers consuming double the resources they should (#1273)
- fix invalid auto-shapeless recipes from appearing in EMI (#1148)
- potential fix for a rare belt-related crash (#941)
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ protected boolean handleBeltProcessingAndCheckIfRemoved(TransportedItemStack cur
}

ProcessingResult result = processingBehaviour.handleHeldItem(currentItem, stackHandlerBehaviour);
if (currentItem.stack.isEmpty())
return true; // fabric: catch stacks that were emptied in processing
if (result == ProcessingResult.REMOVE)
return true;
if (result == ProcessingResult.HOLD)
Expand Down

0 comments on commit b3dd5c2

Please sign in to comment.