mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Remove fire ticks if damage has been canceled. Fixes BUKKIT-2933
This commit is contained in:
parent
6149fc3e78
commit
8e806550d7
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue