Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
e425c29685
Commit
9575e5c907
@ -19,7 +19,7 @@
|
||||
|
||||
package de.steamwar.fightsystem.record;
|
||||
|
||||
import de.steamwar.fightsystem.ArenaMode;
|
||||
import de.steamwar.fightsystem.Config;
|
||||
import de.steamwar.fightsystem.states.FightState;
|
||||
import de.steamwar.fightsystem.states.StateDependent;
|
||||
import org.bukkit.Bukkit;
|
||||
@ -27,7 +27,7 @@ import org.bukkit.Bukkit;
|
||||
import java.io.*;
|
||||
import java.util.zip.GZIPOutputStream;
|
||||
|
||||
public class FileRecorder extends StateDependent implements Recorder {
|
||||
public class FileRecorder extends StateDependent implements Recorder {
|
||||
|
||||
private static final File file = new File(Bukkit.getWorlds().get(0).getWorldFolder(), "recording.recording");
|
||||
private DataOutputStream outputStream;
|
||||
@ -37,7 +37,7 @@ public class FileRecorder extends StateDependent implements Recorder {
|
||||
}
|
||||
|
||||
public FileRecorder(){
|
||||
super(ArenaMode.AntiReplay, FightState.Recording);
|
||||
super(Config.ReplayID == 0, FightState.Recording);
|
||||
register();
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren