Selaa lähdekoodia

Fixing skill messages sent to other players

nossr50 6 vuotta sitten
vanhempi
sitoutus
4e9f5b99b8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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());
             }
         }
     }