You will only gain shared party XP if you are visible to the player gaining XP

This commit is contained in:
nossr50
2019-01-12 21:51:31 -08:00
parent d3c47935d4
commit cde11b64ed
3 changed files with 12 additions and 3 deletions

View File

@ -137,7 +137,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.sendOtherPlayersSkillInfo(player, notificationType, key);
NotificationManager.sendNearbyPlayersInformation(player, notificationType, key);
}
}
}