mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-27 23:47:38 +01:00
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;
|
||||
newFuel = FuelType.SPECIAL;
|
||||
} else {
|
||||
newBurnTime = ForgeHooks.getBurnTime(itemStack, null);
|
||||
newBurnTime = (int)Math.min(ForgeHooks.getBurnTime(itemStack, null), (float)(MAX_HEAT_CAPACITY) * 0.98);
|
||||
if (newBurnTime > 0)
|
||||
newFuel = FuelType.NORMAL;
|
||||
else if (AllItemTags.BLAZE_BURNER_FUEL_REGULAR.matches(itemStack)) {
|
||||
|
|
Loading…
Reference in a new issue