From 5f93eb6ac6fd2eb977fe7e1a34e04782b032058c Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 5 Mar 2019 16:09:02 +0200 Subject: [PATCH] Adjust the critical range for shields to destroy projectiles --- .../java/com/minelittlepony/unicopia/spell/SpellShield.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/spell/SpellShield.java b/src/main/java/com/minelittlepony/unicopia/spell/SpellShield.java index 17e4ad0a..1866af4d 100644 --- a/src/main/java/com/minelittlepony/unicopia/spell/SpellShield.java +++ b/src/main/java/com/minelittlepony/unicopia/spell/SpellShield.java @@ -116,7 +116,7 @@ public class SpellShield extends AbstractSpell.RangedAreaSpell implements IAttac if (ProjectileUtil.isProjectile(target)) { if (!ProjectileUtil.isProjectileThrownBy(target, source.getOwner())) { - if (distance < radius/2) { + if (distance < 1) { target.playSound(SoundEvents.ENTITY_ZOMBIE_VILLAGER_CURE, 0.1F, 1); target.setDead(); } else {