diff --git a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/modules/backup/CompressWorkdirProcess.java b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/modules/backup/CompressWorkdirProcess.java index 8674493..0957329 100644 --- a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/modules/backup/CompressWorkdirProcess.java +++ b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/modules/backup/CompressWorkdirProcess.java @@ -42,6 +42,8 @@ public class CompressWorkdirProcess extends CompressProcess { return true; if (new File(getSourceDir(), "logs").equals(file)) return true; + if (file.isFile() && file.getName().endsWith(".lck")) + return true; return false; }