Skip to content

Commit 5d8024a

Browse files
committed
Revert AbstractCraftingMultiblockBlockEntity
1 parent a7a42cf commit 5d8024a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/aztech/modern_industrialization/machines/blockentities/multiblocks/AbstractCraftingMultiblockBlockEntity.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,17 @@ public final void tick() {
9494
boolean newActive = false;
9595

9696
if (operatingState == OperatingState.TRYING_TO_RESUME) {
97-
if (getCrafterComponent().tryContinueRecipe()) {
97+
if (crafter.tryContinueRecipe()) {
9898
operatingState = OperatingState.NORMAL_OPERATION;
9999
}
100100
}
101101

102102
if (operatingState == OperatingState.NORMAL_OPERATION) {
103-
if (getCrafterComponent().tickRecipe()) {
103+
if (crafter.tickRecipe()) {
104104
newActive = true;
105105
}
106106
} else {
107-
getCrafterComponent().decreaseEfficiencyTicks();
107+
crafter.decreaseEfficiencyTicks();
108108
}
109109

110110
isActive.updateActive(newActive, this);

0 commit comments

Comments
 (0)