From 659c43c6f35c0e5d4ecc32c3ae5a9569b8cb11da Mon Sep 17 00:00:00 2001 From: Zach Brown <1254957+zachbr@users.noreply.github.com> Date: Fri, 18 Mar 2016 21:32:31 -0500 Subject: [PATCH] Fix furnace cook time bug --- Spigot-Server-Patches/Fix-Furnace-cook-time-bug.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Spigot-Server-Patches/Fix-Furnace-cook-time-bug.patch b/Spigot-Server-Patches/Fix-Furnace-cook-time-bug.patch index cbf029b64a..a61d8090df 100644 --- a/Spigot-Server-Patches/Fix-Furnace-cook-time-bug.patch +++ b/Spigot-Server-Patches/Fix-Furnace-cook-time-bug.patch @@ -13,12 +13,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 --- a/src/main/java/net/minecraft/server/TileEntityFurnace.java +++ b/src/main/java/net/minecraft/server/TileEntityFurnace.java @@ -0,0 +0,0 @@ public class TileEntityFurnace extends TileEntityContainer implements ITickable, + if (this.isBurning() && this.canBurn()) { this.cookTime += elapsedTicks; if (this.cookTime >= this.cookTimeTotal) { - this.cookTime = 0; -- this.cookTimeTotal = this.a(this.items[0]); -+ this.cookTimeTotal -= this.a(this.items[0]); // Paper - Fix Furnace cook time bug +- this.cookTime = 0; ++ this.cookTime -= this.a(this.items[0]); // Paper + this.cookTimeTotal = this.a(this.items[0]); this.burn(); flag1 = true; - } -- \ No newline at end of file