Since resources are consumed during start up, they should also be consumed when resetting the crafting cycle.
This commit is contained in:
parent
1de3fe5dc5
commit
52ff6699b4
1 changed files with 4 additions and 0 deletions
|
@ -259,6 +259,10 @@ public class TileFusionControlComputer extends TilePowerAcceptor
|
||||||
}
|
}
|
||||||
if (this.validateReactorRecipe(this.currentRecipe)) {
|
if (this.validateReactorRecipe(this.currentRecipe)) {
|
||||||
this.crafingTickTime = 0;
|
this.crafingTickTime = 0;
|
||||||
|
this.decrStackSize(this.topStackSlot, this.currentRecipe.getTopInput().getCount());
|
||||||
|
if (!this.currentRecipe.getBottomInput().isEmpty()) {
|
||||||
|
this.decrStackSize(this.bottomStackSlot, this.currentRecipe.getBottomInput().getCount());
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.resetCrafter();
|
this.resetCrafter();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue