From 6ff4221581b49824b1ea6715bb4b24681b80939e Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 21 May 2015 17:23:29 +1000 Subject: [PATCH] SPIGOT-844: Use actual block when deciding to send visual updates for burning furnaces. --- nms-patches/TileEntityFurnace.patch | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/nms-patches/TileEntityFurnace.patch b/nms-patches/TileEntityFurnace.patch index 56b5b0a82a..52aab49a55 100644 --- a/nms-patches/TileEntityFurnace.patch +++ b/nms-patches/TileEntityFurnace.patch @@ -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