Fix for furnaces not smelting the final item in full stacks.

This commit is contained in:
LexManos committed 2012-05-01 17:21:55 -07:00
1 parent 0e97f1adaf
commit 7a60c7deb0
1 file changed
+1 -1
@@ -23,7 +23,7 @@
+ if (this.furnaceItemStacks[2] == null) return true;
+ if (!this.furnaceItemStacks[2].isItemEqual(var1)) return false;
+ int result = furnaceItemStacks[2].stackSize + var1.stackSize;
+ return (result < this.getInventoryStackLimit() && result < this.furnaceItemStacks[2].getMaxStackSize());
+ return (result <= this.getInventoryStackLimit() && result <= this.furnaceItemStacks[2].getMaxStackSize());
}
}