mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Remove fire ticks if damage has been canceled. Fixes BUKKIT-2933
This commit is contained in:
1 parent
6149fc3e78
commit
8e806550d7
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user