From b103841da3263c7bce42ec5e4331ebc821bfd65e Mon Sep 17 00:00:00 2001 From: Thinkofname Date: Wed, 20 Apr 2016 13:01:20 +0100 Subject: SPIGOT-2171: Fix shield blocking sounds --- nms-patches/EntityLiving.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nms-patches') 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) -- cgit v1.2.3