Fix start listening on Spectateserver #292
@ -29,8 +29,14 @@ import java.util.zip.GZIPInputStream;
|
|||||||
public class FileSource extends PacketSource {
|
public class FileSource extends PacketSource {
|
||||||
|
|
||||||
public static void startReplay() {
|
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;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
InputStream input = de.steamwar.sql.Fight.getReplay(Config.ReplayID);
|
InputStream input = de.steamwar.sql.Fight.getReplay(Config.ReplayID);
|
||||||
try {
|
try {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren