summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nms-patches/EntityLiving.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/nms-patches/EntityLiving.patch b/nms-patches/EntityLiving.patch
index c03c0470..2d5dbe3e 100644
--- a/nms-patches/EntityLiving.patch
+++ b/nms-patches/EntityLiving.patch
@@ -266,7 +266,8 @@
f *= 0.75F;
}
- boolean flag = false;
+- boolean flag = false;
++ boolean flag = f > 0.0F && this.d(damagesource); // Copied from below
- if (f > 0.0F && this.d(damagesource)) {
+ // CraftBukkit - Moved into damageEntity0(DamageSource, float)