diff options
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityHuman.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java index 47de470a..64abd730 100644 --- a/src/main/java/net/minecraft/server/EntityHuman.java +++ b/src/main/java/net/minecraft/server/EntityHuman.java @@ -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 |