Merge pull request 'Fix start listening on Spectateserver' (#292) from fix_replayserver into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Reviewed-on: #292 Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Commit
c4d36e9be8
@ -29,8 +29,14 @@ import java.util.zip.GZIPInputStream;
|
||||
public class FileSource extends PacketSource {
|
||||
|
||||
public static void startReplay() {
|
||||
if(Config.replayserver())
|
||||
if(Config.replayserver()) {
|
||||
try {
|
||||
new LiveServer();
|
||||
} catch (IOException e) {
|
||||
throw new SecurityException("Could not start replayserver", e);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
InputStream input = de.steamwar.sql.Fight.getReplay(Config.ReplayID);
|
||||
try {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren