Ursprung
d0a5e0c96f
Commit
80a98a998a
@ -80,7 +80,7 @@ public class WinconditionAmongUs extends Wincondition implements Listener {
|
|||||||
FightPlayer current = team.getFightPlayer(player);
|
FightPlayer current = team.getFightPlayer(player);
|
||||||
if (current == imposter.get(team)) {
|
if (current == imposter.get(team)) {
|
||||||
win(team, "WIN_IMPOSTER_DEAD", team.getPrefix());
|
win(team, "WIN_IMPOSTER_DEAD", team.getPrefix());
|
||||||
} else if (team.getPlayers().contains(current) && team.getPlayers().contains(imposter.get(team))) {
|
} else if (team.getAlivePlayers() <= 2 && team.getPlayers().contains(imposter.get(team))) {
|
||||||
win(Fight.getOpposite(team), "WIN_CREWMATE_DEAD", Fight.getOpposite(team).getPrefix());
|
win(Fight.getOpposite(team), "WIN_CREWMATE_DEAD", Fight.getOpposite(team).getPrefix());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren