Remove fire ticks if damage has been canceled. Fixes BUKKIT-2933
This commit is contained in:
parent
6149fc3e78
commit
8e806550d7
@ -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
|
// CraftBukkit start - Return when the damage fails so that the item will not lose durability
|
||||||
if (!flag2) {
|
if (!flag2) {
|
||||||
|
if (flag1) {
|
||||||
|
entity.extinguish();
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user