SPIGOT-3107: Try and improve shield knockback further

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2017-03-08 14:51:48 +11:00
parent 11c88dc8f2
commit 5e2981ee0f

View File

@ -529,7 +529,7 @@
+
+ return true;
+ } else {
+ return originalDamage > 0;
+ return (event.getDamage(DamageModifier.BLOCKING) < 0) ? false : originalDamage > 0;
+ // CraftBukkit end
}
}