Stop XRaySpirit from literally damaging peoples ears

This commit is contained in:
HexedHero 2019-09-14 14:54:05 +00:00
parent c9442be36d
commit 0dc410b7c1

View File

@ -25,6 +25,6 @@ public class XRaySpirit implements StaffAttackHandler {
if (trace.hasHit())
new AttackResult(attackDamage, DamageType.WEAPON, DamageType.PROJECTILE, DamageType.PHYSICAL).applyEffectsAndDamage(stats, nbt, trace.getHit());
trace.draw(loc, stats.getPlayer().getEyeLocation().getDirection(), 2, Color.BLACK);
stats.getPlayer().getWorld().playSound(stats.getPlayer().getLocation(), Sound.ENTITY_ZOMBIE_ATTACK_IRON_DOOR, 2, 2);
stats.getPlayer().getWorld().playSound(stats.getPlayer().getLocation(), Sound.ENTITY_ZOMBIE_ATTACK_IRON_DOOR, 0.40f, 2);
}
}