SteamWar/FightSystem
Archiviert
13
1

Fix logic error
Einige Prüfungen sind fehlgeschlagen
SteamWarCI Build failed

Dieser Commit ist enthalten in:
yoyosource 2022-03-10 12:05:30 +01:00
Ursprung 25f492e1d1
Commit 1de78548bb

Datei anzeigen

@ -138,7 +138,7 @@ public class FightStatistics {
}
replayLock = false;
if (Bukkit.getOnlinePlayers().isEmpty()) {
if (!Bukkit.getOnlinePlayers().isEmpty()) {
Player p = Bukkit.getOnlinePlayers().iterator().next();
new FightEndsPacket((byte) win, blueSchem == null ? 0 : blueSchem, redSchem == null ? 0 : redSchem, Fight.getBlueTeam().getPlayers().stream().map(FightPlayer::getPlayer).map(SteamwarUser::get).map(SteamwarUser::getId).collect(Collectors.toList()), Fight.getRedTeam().getPlayers().stream().map(FightPlayer::getPlayer).map(SteamwarUser::get).map(SteamwarUser::getId).collect(Collectors.toList())).send(p);
}