SteamWar/FightSystem
Archiviert
13
1

Force recording saving post recording flush and close
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-03-05 12:47:21 +01:00
Ursprung 8bd0d1c2a2
Commit e468feb1fc

Datei anzeigen

@ -58,7 +58,7 @@ public class FightStatistics {
public FightStatistics() { public FightStatistics() {
new OneShotStateDependent(ArenaMode.SeriousFight, FightState.Running, this::enable); new OneShotStateDependent(ArenaMode.SeriousFight, FightState.Running, this::enable);
new OneShotStateDependent(ArenaMode.Event, FightState.Spectate, this::setEventResult); new OneShotStateDependent(ArenaMode.Event, FightState.Spectate, this::setEventResult);
new OneShotStateDependent(ArenaMode.SeriousFight, FightState.Spectate, this::disable); new OneShotStateDependent(ArenaMode.SeriousFight, FightState.Spectate, () -> Bukkit.getScheduler().runTask(FightSystem.getPlugin(), this::disable));
} }
private void enable(){ private void enable(){