code refactoring
This commit is contained in:
parent
9105d31a02
commit
4513e0bafd
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ public class CombatManager extends Manager {
|
|||
|
||||
if (luck < -1000) {
|
||||
// 100% chance of miss
|
||||
player.sendMessage(player.identity(), comp("<red>You dodged!"));
|
||||
player.sendMessage(comp("<red>You dodged!"));
|
||||
player.playSound(player, Sound.ENTITY_ARROW_SHOOT, 1.0f, 1.0f);
|
||||
e.setCancelled(true);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue