3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-20 05:20:07 +01:00

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

Dieser Commit ist enthalten in:
feildmaster 2012-11-15 19:20:45 -06:00
Ursprung 6149fc3e78
Commit 8e806550d7

Datei anzeigen

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