Merge pull request #3776 from Xstoudi/fix/mechanical-crafter-dup

fix: item duplication bug
This commit is contained in:
simibubi 2022-09-22 18:40:25 +02:00 committed by GitHub
commit 8fe370bbd5
Failed to generate hash of commit

View file

@ -100,7 +100,8 @@ public class MechanicalCrafterBlock extends HorizontalKineticBlock
if (crafter != null) {
if (crafter.covered)
Block.popResource(worldIn, pos, AllItems.CRAFTER_SLOT_COVER.asStack());
crafter.ejectWholeGrid();
if (!isMoving)
crafter.ejectWholeGrid();
}
for (Direction direction : Iterate.directions) {