Archiviert
1
0

Hotfix repeated announcements

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-07-28 20:24:41 +02:00
Ursprung ef3c04a442
Commit 82717dd9d4

Datei anzeigen

@ -98,8 +98,10 @@ public class ConnectionListener extends BasicListener {
} }
} }
if(newPlayers.contains(player.getUniqueId())) if(newPlayers.contains(player.getUniqueId())){
BungeeCore.broadcast(BungeeCore.CHAT_PREFIX + "§7Begrüßt alle mal §e" + player.getName() + " §7auf dem Server§8!"); BungeeCore.broadcast(BungeeCore.CHAT_PREFIX + "§7Begrüßt alle mal §e" + player.getName() + " §7auf dem Server§8!");
newPlayers.remove(player.getUniqueId());
}
} }
/** To redirect players to the lobby in case of server closure. */ /** To redirect players to the lobby in case of server closure. */