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,6 +100,7 @@ public class MechanicalCrafterBlock extends HorizontalKineticBlock
if (crafter != null) { if (crafter != null) {
if (crafter.covered) if (crafter.covered)
Block.popResource(worldIn, pos, AllItems.CRAFTER_SLOT_COVER.asStack()); Block.popResource(worldIn, pos, AllItems.CRAFTER_SLOT_COVER.asStack());
if (!isMoving)
crafter.ejectWholeGrid(); crafter.ejectWholeGrid();
} }