mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-13 19:14:42 +02:00
You will only gain shared party XP if you are visible to the player gaining XP
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user