mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-20 13:31:25 +02:00
Prevent that hidden players broadcast afk messages
Prevent that moving players triggers unafk too early, they can now move within a radius of 3 blocks from the position where they went afk.
This commit is contained in:
@@ -79,7 +79,7 @@ public class EssentialsSpawnPlayerListener extends PlayerListener
|
||||
|
||||
if (ess.getSettings().getAnnounceNewPlayers())
|
||||
{
|
||||
ess.broadcastMessage(user.getName(), ess.getSettings().getAnnounceNewPlayerFormat(user));
|
||||
ess.broadcastMessage(user, ess.getSettings().getAnnounceNewPlayerFormat(user));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user