From 0dc410b7c16c8438b8d15c7fbcd9c87792624a2b Mon Sep 17 00:00:00 2001 From: HexedHero <4143594-HexedHero@users.noreply.gitlab.com> Date: Sat, 14 Sep 2019 14:54:05 +0000 Subject: [PATCH] Stop XRaySpirit from literally damaging peoples ears --- .../api/interaction/weapon/untargeted/staff/XRaySpirit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/Indyuce/mmoitems/api/interaction/weapon/untargeted/staff/XRaySpirit.java b/src/main/java/net/Indyuce/mmoitems/api/interaction/weapon/untargeted/staff/XRaySpirit.java index f9e4a0c7..801dc03c 100644 --- a/src/main/java/net/Indyuce/mmoitems/api/interaction/weapon/untargeted/staff/XRaySpirit.java +++ b/src/main/java/net/Indyuce/mmoitems/api/interaction/weapon/untargeted/staff/XRaySpirit.java @@ -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); } }