From d4e50bef9d5a2b3258e36162280d3d228048b98c Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 22 Mar 2016 14:54:21 +1100 Subject: [PATCH] Improve shield damage --- nms-patches/EntityLiving.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/EntityLiving.patch b/nms-patches/EntityLiving.patch index c9a3e9d5de..974563a149 100644 --- a/nms-patches/EntityLiving.patch +++ b/nms-patches/EntityLiving.patch @@ -466,8 +466,8 @@ + + // Apply blocking code + if (event.getDamage(DamageModifier.BLOCKING) < 0) { ++ this.k((float) event.getDamage()); // PAIL: rename + if (damagesource.i() instanceof EntityLiving) {// PAIL: rename -+ this.k(f); // PAIL: rename + ((EntityLiving) damagesource.i()).a(EntityLiving.this, 0.5F, EntityLiving.this.locX - damagesource.i().locX, EntityLiving.this.locZ - damagesource.i().locZ); + } + }