Ranked #333
@ -128,10 +128,15 @@ public class FightEndsHandler implements SpigotHandler {
|
||||
for (Fight fight : fightsPage) {
|
||||
if (!gameMode.equals(fight.getGameMode().getSchemType())) continue;
|
||||
if (fight.getStartTime().getTime() < time) return false;
|
||||
if (fight.getBluePlayers().stream().map(FightPlayer::getUserID).collect(Collectors.toList()).containsAll(bluePlayers)) {
|
||||
if (fight.getRedPlayers().stream().map(FightPlayer::getUserID).collect(Collectors.toList()).containsAll(redPlayers)) {
|
||||
return true;
|
||||
}
|
||||
if (fight.getBluePlayers().stream()
|
||||
.map(FightPlayer::getUserID)
|
||||
YoyoNow markierte diese Unterhaltung als gelöst
Veraltet
|
||||
.collect(Collectors.toList())
|
||||
.containsAll(bluePlayers)
|
||||
&& fight.getRedPlayers().stream()
|
||||
.map(FightPlayer::getUserID)
|
||||
.collect(Collectors.toList())
|
||||
.containsAll(redPlayers)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
page++;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren
Hier bitte stattdessen verunden.