From 8e806550d7627d3cac3226bacef11ce73dd69bda Mon Sep 17 00:00:00 2001 From: feildmaster Date: Thu, 15 Nov 2012 19:20:45 -0600 Subject: [PATCH] Remove fire ticks if damage has been canceled. Fixes BUKKIT-2933 --- src/main/java/net/minecraft/server/EntityHuman.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java index 47de470a05..64abd7305b 100644 --- a/src/main/java/net/minecraft/server/EntityHuman.java +++ b/src/main/java/net/minecraft/server/EntityHuman.java @@ -795,6 +795,9 @@ public abstract class EntityHuman extends EntityLiving implements ICommandListen // CraftBukkit start - Return when the damage fails so that the item will not lose durability if (!flag2) { + if (flag1) { + entity.extinguish(); + } return; } // CraftBukkit end