mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
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
|
||||
if (!flag2) {
|
||||
if (flag1) {
|
||||
entity.extinguish();
|
||||
}
|
||||
return;
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
Loading…
Reference in New Issue
Block a user