Browse Source

Fixing skill messages sent to other players

nossr50 6 years ago
parent
commit
4e9f5b99b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/gmail/nossr50/util/skills/SkillUtils.java

+ 1 - 1
src/main/java/com/gmail/nossr50/util/skills/SkillUtils.java

@@ -144,7 +144,7 @@ public class SkillUtils {
 
         for (Player otherPlayer : player.getWorld().getPlayers()) {
             if (otherPlayer != player && Misc.isNear(location, otherPlayer.getLocation(), Misc.SKILL_MESSAGE_MAX_SENDING_DISTANCE)) {
-                NotificationManager.sendNearbyPlayersInformation(player, notificationType, key);
+                NotificationManager.sendNearbyPlayersInformation(player, notificationType, key, player.getName());
             }
         }
     }