summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/EntityHuman.java3
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