mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-18 16:02:19 +01:00
Merge pull request #3776 from Xstoudi/fix/mechanical-crafter-dup
fix: item duplication bug
This commit is contained in:
commit
8fe370bbd5
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue