fixed build issues, code cleanup

This commit is contained in:
Tahg
2011-09-26 03:59:03 -04:00
parent d226e551ae
commit 31eef6e001
5 changed files with 32 additions and 42 deletions

View File

@@ -219,7 +219,7 @@ public class TileEntityFurnace extends TileEntity implements IInventory {
this.items[2] = itemstack.cloneItemStack();
} else if (this.items[2].id == itemstack.id) {
// CraftBukkit - compare damage too
if (this.items[2].damage == itemstack.damage) {
if (this.items[2].getData() == itemstack.getData()) {
this.items[2].count += itemstack.count;
}
// CraftBukkit end