mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 06:24:29 +01:00
Merge pull request #3776 from Xstoudi/fix/mechanical-crafter-dup
fix: item duplication bug
This commit is contained in:
commit
8fe370bbd5
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user