diff --git a/FABRIC_CHANGELOG.txt b/FABRIC_CHANGELOG.txt index ac8bcecf52..9792152fe7 100644 --- a/FABRIC_CHANGELOG.txt +++ b/FABRIC_CHANGELOG.txt @@ -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) diff --git a/src/main/java/com/simibubi/create/content/kinetics/belt/transport/BeltInventory.java b/src/main/java/com/simibubi/create/content/kinetics/belt/transport/BeltInventory.java index 26f1c87aff..f8e0d7c008 100644 --- a/src/main/java/com/simibubi/create/content/kinetics/belt/transport/BeltInventory.java +++ b/src/main/java/com/simibubi/create/content/kinetics/belt/transport/BeltInventory.java @@ -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)