Fix for the ticktime
This commit is contained in:
parent
f3d346f6d1
commit
1bddb1747f
2 changed files with 3 additions and 0 deletions
|
@ -138,6 +138,7 @@ public class RecipeCrafter {
|
||||||
} else if (currentTickTime < currentRecipe.tickTime()) {
|
} else if (currentTickTime < currentRecipe.tickTime()) {
|
||||||
if (energy.useEnergy(currentRecipe.euPerTick())) {
|
if (energy.useEnergy(currentRecipe.euPerTick())) {
|
||||||
currentTickTime++;
|
currentTickTime++;
|
||||||
|
parentTile.syncWithAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,8 @@ public class GuiAlloySmelter extends GuiContainer {
|
||||||
I18n.format("container.inventory", new Object[0]), 8,
|
I18n.format("container.inventory", new Object[0]), 8,
|
||||||
this.ySize - 96 + 2, 4210752);
|
this.ySize - 96 + 2, 4210752);
|
||||||
|
|
||||||
|
System.out.print(alloysmelter.crafter.currentTickTime);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue