SteamWar/FightSystem
Archiviert
13
1

Implementation of ELO-Based 1 vs 1 ranked games #172

Manuell gemergt
Lixfel hat 4 Commits von firstRanked nach master 2020-07-11 07:17:45 +02:00 zusammengeführt
Nur Änderungen aus Commit 7e66c9895c werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -196,6 +196,8 @@ public class FightSystem extends JavaPlugin {
} }
public static void setSpectateState(FightTeam winFightTeam, String windescription) { public static void setSpectateState(FightTeam winFightTeam, String windescription) {
if(fightState == FightState.SPECTATE)
return;
setFightState(FightState.SPECTATE); setFightState(FightState.SPECTATE);
setAllPlayersGM(GameMode.SPECTATOR); setAllPlayersGM(GameMode.SPECTATOR);