mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 02:49:44 -05:00
Whitespace + general cleanup
This commit is contained in:
1 parent
e54d8c3352
commit
309846d732
87 files changed
+474
-421
No files matched your search
@@ -163,8 +163,12 @@ public class TileEntityFurnace extends TileEntity implements IInventory {
|
||||
|
||||
if (this.items[2] == null) {
|
||||
this.items[2] = itemstack.j();
|
||||
} else if (this.items[2].id == itemstack.id && this.items[2].damage == itemstack.damage) { // CraftBukkit - compare damage too
|
||||
this.items[2].count += itemstack.count; // CraftBukkit - increment by count instead of 1
|
||||
} else if (this.items[2].id == itemstack.id) {
|
||||
// CraftBukkit start - compare damage too
|
||||
if (this.items[2].damage == itemstack.damage) {
|
||||
this.items[2].count += itemstack.count;
|
||||
}
|
||||
// CraftBukkit end
|
||||
}
|
||||
|
||||
--this.items[0].count;
|
||||
|
||||
Reference in new issue
Block a user