SteamWar/FightSystem
Archiviert
13
1

Add GZIPOutputStream improvement

Dieser Commit ist enthalten in:
jojo 2020-09-05 21:46:43 +02:00
Ursprung 80416f3cdb
Commit d6a8974439

Datei anzeigen

@ -19,7 +19,7 @@ public class FileRecorder extends Recorder {
File file = new File(FightSystem.getPlugin().getDataFolder(), "recording");
try{
file.createNewFile();
outputStream = new DataOutputStream(new GZIPOutputStream(new FileOutputStream(file)));
outputStream = new DataOutputStream(new GZIPOutputStream(new FileOutputStream(file), 4096));
}catch(IOException e){
throw new SecurityException("Could not open file", e);
}