Fix FightEndsHandler
Dieser Commit ist enthalten in:
Ursprung
895ac9843b
Commit
a26e3994a3
@ -104,7 +104,7 @@ public class FightEndsHandler implements SpigotHandler {
|
||||
return false;
|
||||
}
|
||||
for (Fight fight : fightsPage) {
|
||||
if (!fight.getGameMode().getSchemType().equals(gameMode)) continue;
|
||||
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)) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren