* @param playerToNotifyAbout
*/
private void updatePlayerNameListForPlayersOnLogout(final Player playerToNotifyAbout) {
SingletonRepository.getRuleProcessor().getOnlinePlayers().forAllPlayersExecute(new Task<Player>() {
public void execute(final Player player) {
player.addEvent(new PlayerLoggedOutEvent(playerToNotifyAbout.getName()));
}
});
}