* No spamming "hitted" sound in lobby.
This commit is contained in:
parent
a3cdc7b6cf
commit
cdc7b188a4
@ -40,14 +40,15 @@ public class OnEntityDamageByEntityEvent implements Listener {
|
||||
&& !arena.seekers.contains(player)) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
||||
player.playEffect(player.getLocation(), Effect.BOW_FIRE, 0);
|
||||
event.getDamager()
|
||||
.getLocation()
|
||||
.getWorld()
|
||||
.playEffect(event.getDamager().getLocation(),
|
||||
Effect.BOW_FIRE, 0);
|
||||
player.playEffect(player.getLocation(),
|
||||
Effect.BOW_FIRE, 0);
|
||||
event.getDamager()
|
||||
.getLocation()
|
||||
.getWorld()
|
||||
.playEffect(event.getDamager().getLocation(),
|
||||
Effect.BOW_FIRE, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user