Explorar el Código

Fixing skill messages sent to other players

nossr50 hace 6 años
padre
commit
4e9f5b99b8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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());
             }
         }
     }