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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {