SPIGOT-844: Use actual block when deciding to send visual updates for burning furnaces.

Dieser Commit ist enthalten in:
md_5 2015-05-21 17:23:29 +10:00
Ursprung 99449d5d8f
Commit 6ff4221581

Datei anzeigen

@ -1,5 +1,5 @@
--- /home/matt/mc-dev-private//net/minecraft/server/TileEntityFurnace.java 2015-02-26 22:40:23.143608133 +0000
+++ src/main/java/net/minecraft/server/TileEntityFurnace.java 2015-02-26 22:40:23.143608133 +0000
--- ../work/decompile-c2c33c10/net/minecraft/server/TileEntityFurnace.java 2015-05-21 17:23:15.279886524 +1000
+++ src/main/java/net/minecraft/server/TileEntityFurnace.java 2015-05-21 17:23:15.283886599 +1000
@@ -1,17 +1,53 @@
package net.minecraft.server;
@ -65,8 +65,12 @@
}
public boolean isBurning() {
@@ -143,8 +179,26 @@
boolean flag = this.isBurning();
@@ -140,11 +176,29 @@
}
public void c() {
- boolean flag = this.isBurning();
+ boolean flag = (this.w() == Blocks.LIT_FURNACE); // CraftBukkit - SPIGOT-844 - Check if furnace block is lit using the block instead of burn time
boolean flag1 = false;
+ // CraftBukkit start - Use wall time instead of ticks for cooking