          if(furnaceItemStacks[2] == null)
          {
              furnaceItemStacks[2] = itemstack.copy();
+         } else
+-        if(furnaceItemStacks[2].itemID == itemstack.itemID)
++        if(furnaceItemStacks[2].isItemEqual(itemstack))
+         {
+             furnaceItemStacks[2].stackSize++;
+         }
 diff -u -r --strip-trailing-cr ../src_base/minecraft_server/net/minecraft/src/TileEntity.java ../src_work/minecraft_server/net/minecraft/src/TileEntity.java
 --- ../src_base/minecraft_server/net/minecraft/src/TileEntity.java	2011-09-19 16:32:53.000000000 -0400
 +++ ../src_work/minecraft_server/net/minecraft/src/TileEntity.java	2011-09-19 16:32:54.000000000 -0400

         if(furnaceItemStacks[2] == null)
         {
             furnaceItemStacks[2] = itemstack.copy();
diff -u -r --strip-trailing-cr ../src_base/minecraft/net/minecraft/src/TileEntity.java ../src_work/minecraft/net/minecraft/src/TileEntity.java
--- ../src_base/minecraft/net/minecraft/src/TileEntity.java	2011-09-19 16:32:52.000000000 -0400
+++ ../src_work/minecraft/net/minecraft/src/TileEntity.java	2011-09-19 16:32:54.000000000 -0400

         if(itemstack == null)
         {
             return false;
@@ -222,12 +222,12 @@
         {
             return;
         }
