From cffc6590014931508d6ceecde6badb2c01936a2d Mon Sep 17 00:00:00 2001 From: Szum123321 Date: Thu, 1 Dec 2022 07:45:57 +0100 Subject: [PATCH] don't re-pack Textile data --- src/main/java/net/szum123321/textile_backup/core/Utilities.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/szum123321/textile_backup/core/Utilities.java b/src/main/java/net/szum123321/textile_backup/core/Utilities.java index 1989993..8a3ff02 100644 --- a/src/main/java/net/szum123321/textile_backup/core/Utilities.java +++ b/src/main/java/net/szum123321/textile_backup/core/Utilities.java @@ -119,6 +119,8 @@ public class Utilities { if (path.getFileName().toString().equals("session.lock")) return true; } + if(path.getFileName().endsWith(CompressionStatus.DATA_FILENAME)) return true; + return config.get().fileBlacklist.stream().anyMatch(path::startsWith); }