Skip to content

Commit 224687a

Browse files
committed
Increase Efficiency of Solid Fuels in Large Boilers
1 parent c0c5b60 commit 224687a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/gregtech/api/capability/impl/BoilerRecipeLogic.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ protected void trySearchNewRecipe() {
120120
for (int i = 0; i < importItems.getSlots(); i++) {
121121
ItemStack stack = importItems.getStackInSlot(i);
122122
int fuelBurnTime = (int) Math.ceil(TileEntityFurnace.getItemBurnTime(stack));
123-
if (fuelBurnTime / 80 > 0) { // try to ensure this fuel can burn for at least 1 tick
123+
if (fuelBurnTime / 8 > 0) { // try to ensure this fuel can burn for at least 1 tick
124124
if (FluidUtil.getFluidHandler(stack) != null) continue;
125-
this.excessFuel += fuelBurnTime % 80;
126-
int excessProgress = this.excessFuel / 80;
127-
this.excessFuel %= 80;
125+
this.excessFuel += fuelBurnTime % 8;
126+
int excessProgress = this.excessFuel / 8;
127+
this.excessFuel %= 8;
128128
setMaxProgress(excessProgress +
129-
adjustBurnTimeForThrottle(boiler.boilerType.runtimeBoost(fuelBurnTime / 80)));
129+
adjustBurnTimeForThrottle(boiler.boilerType.runtimeBoost(fuelBurnTime / 8)));
130130
stack.shrink(1);
131131
didStartRecipe = true;
132132
break;

0 commit comments

Comments
 (0)