Remove fire ticks if damage has been canceled. Fixes BUKKIT-2933

This commit is contained in:
feildmaster 2012-11-15 19:20:45 -06:00
parent 6149fc3e78
commit 8e806550d7

View File

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