i'm really dumb, fixing #122

This commit is contained in:
szymon 2023-09-12 22:48:57 +02:00
parent fc9e500ed6
commit 0912936080
2 changed files with 5 additions and 3 deletions

View File

@ -1,12 +1,12 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx1G
minecraft_version=1.20.2-pre3
yarn_mappings=1.20.2-pre3+build.5
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
loader_version=0.14.22
#Fabric api
fabric_version=0.88.3+1.20.2
fabric_version=0.88.1+1.20.1
#Cloth Config
cloth_version=11.1.106

View File

@ -13,6 +13,7 @@ import net.szum123321.textile_backup.core.WorldSavingState;
import net.szum123321.textile_backup.core.create.compressors.ParallelZipCompressor;
import net.szum123321.textile_backup.core.create.compressors.ZipCompressor;
import net.szum123321.textile_backup.core.create.compressors.tar.AbstractTarArchiver;
import net.szum123321.textile_backup.core.create.compressors.tar.ParallelBZip2Compressor;
import net.szum123321.textile_backup.core.create.compressors.tar.ParallelGzipCompressor;
import org.jetbrains.annotations.NotNull;
@ -118,6 +119,7 @@ public record ExecutableBackup(@NotNull MinecraftServer server,
ZipCompressor.getInstance().createArchive(world, outFile, this, coreCount);
}
}
case BZIP2 -> ParallelBZip2Compressor.getInstance().createArchive(world, outFile, this, coreCount);
case GZIP -> ParallelGzipCompressor.getInstance().createArchive(world, outFile, this, coreCount);
case TAR -> new AbstractTarArchiver().createArchive(world, outFile, this, coreCount);
}