geforkt von SteamWar/BungeeCore
Fix FightEndsHandler
Dieser Commit ist enthalten in:
Ursprung
895ac9843b
Commit
a26e3994a3
@ -104,7 +104,7 @@ public class FightEndsHandler implements SpigotHandler {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
for (Fight fight : fightsPage) {
|
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.getStartTime().getTime() < time) return false;
|
||||||
if (fight.getBluePlayers().stream().map(FightPlayer::getUserID).collect(Collectors.toList()).containsAll(bluePlayers)) {
|
if (fight.getBluePlayers().stream().map(FightPlayer::getUserID).collect(Collectors.toList()).containsAll(bluePlayers)) {
|
||||||
if (fight.getRedPlayers().stream().map(FightPlayer::getUserID).collect(Collectors.toList()).containsAll(redPlayers)) {
|
if (fight.getRedPlayers().stream().map(FightPlayer::getUserID).collect(Collectors.toList()).containsAll(redPlayers)) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren