Fixing skill messages sent to other players

This commit is contained in:
nossr50 2019-01-21 03:48:11 -08:00
parent b48fa2d8e5
commit 4e9f5b99b8

View File

@ -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());
}
}
}