geforkt von Mirrors/Paper
Fix furnace cook time bug
Dieser Commit ist enthalten in:
Ursprung
c7fec9299a
Commit
659c43c6f3
@ -13,12 +13,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
--- a/src/main/java/net/minecraft/server/TileEntityFurnace.java
|
--- a/src/main/java/net/minecraft/server/TileEntityFurnace.java
|
||||||
+++ b/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,
|
@@ -0,0 +0,0 @@ public class TileEntityFurnace extends TileEntityContainer implements ITickable,
|
||||||
|
if (this.isBurning() && this.canBurn()) {
|
||||||
this.cookTime += elapsedTicks;
|
this.cookTime += elapsedTicks;
|
||||||
if (this.cookTime >= this.cookTimeTotal) {
|
if (this.cookTime >= this.cookTimeTotal) {
|
||||||
this.cookTime = 0;
|
- this.cookTime = 0;
|
||||||
- this.cookTimeTotal = this.a(this.items[0]);
|
+ this.cookTime -= this.a(this.items[0]); // Paper
|
||||||
+ this.cookTimeTotal -= this.a(this.items[0]); // Paper - Fix Furnace cook time bug
|
this.cookTimeTotal = this.a(this.items[0]);
|
||||||
this.burn();
|
this.burn();
|
||||||
flag1 = true;
|
flag1 = true;
|
||||||
}
|
|
||||||
--
|
--
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren