SteamWar/FightSystem
Archiviert
13
1

Silent replay saving failure
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-01-06 07:13:59 +01:00
Ursprung 57dc780832
Commit 312eff810d

Datei anzeigen

@ -126,7 +126,11 @@ public class FightStatistics {
FightSystem.getEventFight().setFight(fightId); FightSystem.getEventFight().setFight(fightId);
} }
setReplay(fightId, new FileInputStream(FileRecorder.getFile())); try {
setReplay(fightId, new FileInputStream(FileRecorder.getFile()));
}catch(Exception e){
Bukkit.getLogger().log(Level.INFO, "Failed to save replay", e);
}
}catch(Exception e){ }catch(Exception e){
Bukkit.getLogger().log(Level.SEVERE, "Failed to save statistics", e); Bukkit.getLogger().log(Level.SEVERE, "Failed to save statistics", e);
} }