1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-05-09 14:34:10 +02:00

Add "servermods" folder to ignored folders in backups

This commit is contained in:
chylex 2024-04-13 09:07:22 +02:00
parent 30b3ba60cd
commit 35ca896849
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548

View File

@ -25,7 +25,7 @@ sealed class BackupArchiver {
}
private bool IsFolderSkipped(ImmutableList<string> relativePath) {
return relativePath is ["cache" or "crash-reports" or "debug" or "libraries" or "logs" or "mods" or "versions"];
return relativePath is ["cache" or "crash-reports" or "debug" or "libraries" or "logs" or "mods" or "servermods" or "versions"];
}
[SuppressMessage("ReSharper", "ConvertIfStatementToReturnStatement")]