Merge pull request #3958 from NotSoEpic/mc1.18/dev
Fix: blaze burner overfill and automation issue
This commit is contained in:
commit
89856bbe67
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ public class BlazeBurnerTileEntity extends SmartTileEntity {
|
||||||
newBurnTime = 1000;
|
newBurnTime = 1000;
|
||||||
newFuel = FuelType.SPECIAL;
|
newFuel = FuelType.SPECIAL;
|
||||||
} else {
|
} else {
|
||||||
newBurnTime = ForgeHooks.getBurnTime(itemStack, null);
|
newBurnTime = (int)Math.min(ForgeHooks.getBurnTime(itemStack, null), (float)(MAX_HEAT_CAPACITY) * 0.98);
|
||||||
if (newBurnTime > 0)
|
if (newBurnTime > 0)
|
||||||
newFuel = FuelType.NORMAL;
|
newFuel = FuelType.NORMAL;
|
||||||
else if (AllItemTags.BLAZE_BURNER_FUEL_REGULAR.matches(itemStack)) {
|
else if (AllItemTags.BLAZE_BURNER_FUEL_REGULAR.matches(itemStack)) {
|
||||||
|
|
Loading…
Reference in a new issue