13
0
geforkt von Mirrors/Paper

Fix furnace cook time bug

Dieser Commit ist enthalten in:
Zach Brown 2016-03-18 21:32:31 -05:00
Ursprung c7fec9299a
Commit 659c43c6f3

Datei anzeigen

@ -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;
}
--