diff --git a/gradle.properties b/gradle.properties index 8a2f374..f20d629 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/src/main/java/net/szum123321/textile_backup/core/create/ExecutableBackup.java b/src/main/java/net/szum123321/textile_backup/core/create/ExecutableBackup.java index c767029..e9e3569 100644 --- a/src/main/java/net/szum123321/textile_backup/core/create/ExecutableBackup.java +++ b/src/main/java/net/szum123321/textile_backup/core/create/ExecutableBackup.java @@ -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); }