Skip to content

Commit 40b29aa

Browse files
Implemented the same optimization for furnaces as was in 7.3_01 ("Made unfueled furnaces not constantly check if they can smelt")
1 parent 8f37489 commit 40b29aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/fl205/ironfurnaces/tileEntities/TileEntityCustomFurnace.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void tick() {
4444
furnaceUpdated = true;
4545
}
4646

47-
if (this.currentBurnTime == 0 && this.canSmelt()) {
47+
if (this.currentBurnTime == 0 && this.furnaceItemStacks[1] != null && this.canSmelt()) {
4848
this.maxBurnTime = this.currentBurnTime = this.getBurnTimeFromItem(this.furnaceItemStacks[1]);
4949
if (this.currentBurnTime > 0) {
5050
furnaceUpdated = true;

0 commit comments

Comments
 (0)