Text correction
This commit is contained in:
parent
2fab8c67f3
commit
a6881b68cd
@ -2,7 +2,7 @@ This project uses third party libraries as its dependencies and includes them in
|
|||||||
Apache Commons Compress licensed under Apache License Version 2.0 which can be found at http://www.apache.org/licenses/
|
Apache Commons Compress licensed under Apache License Version 2.0 which can be found at http://www.apache.org/licenses/
|
||||||
Cotton config, Cotton logging, and Jankson-Fabric all by Cotton team licensed under MIT license which can be found at https://github.com/CottonMC/Cotton
|
Cotton config, Cotton logging, and Jankson-Fabric all by Cotton team licensed under MIT license which can be found at https://github.com/CottonMC/Cotton
|
||||||
XZ for Java by Tukaani released as public domain. https://tukaani.org/xz/java.html
|
XZ for Java by Tukaani released as public domain. https://tukaani.org/xz/java.html
|
||||||
parallelgzip by shevek under Apache 2.0 http://www.apache.org/licenses/
|
parallelgzip by shevek (https://github.com/shevek/parallelgzip) under Apache 2.0 http://www.apache.org/licenses/
|
||||||
|
|
||||||
To save on space Parallel BZip2 was unpacked
|
To save on space Parallel BZip2 was unpacked
|
||||||
Parallel BZip2 compression by Karl Gustafsson at http://at4j.sourceforge.net/ under GPL v3
|
Parallel BZip2 compression by Karl Gustafsson at http://at4j.sourceforge.net/ under GPL v3
|
||||||
|
@ -117,11 +117,10 @@ public record BackupContext(@NotNull MinecraftServer server,
|
|||||||
if (server == null) {
|
if (server == null) {
|
||||||
if (commandSource != null) setServer(commandSource.getServer());
|
if (commandSource != null) setServer(commandSource.getServer());
|
||||||
else
|
else
|
||||||
throw new RuntimeException("Both MinecraftServer and ServerCommandSource weren't provided!");
|
throw new RuntimeException("Neither MinecraftServer or ServerCommandSource were provided!");
|
||||||
}
|
}
|
||||||
|
|
||||||
return new BackupContext(server, commandSource, initiator, save, comment);
|
return new BackupContext(server, commandSource, initiator, save, comment);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -62,10 +62,10 @@ public abstract class AbstractCompressor {
|
|||||||
} catch(NoSpaceLeftOnDeviceException e) {
|
} catch(NoSpaceLeftOnDeviceException e) {
|
||||||
log.error("""
|
log.error("""
|
||||||
CRITICAL ERROR OCCURRED!
|
CRITICAL ERROR OCCURRED!
|
||||||
The backup is corrupted.;
|
The backup is corrupt!
|
||||||
Don't panic! This is a known issue!
|
Don't panic! This is a known issue!
|
||||||
For help see: https://github.com/Szum123321/textile_backup/wiki/ZIP-Problems
|
For help see: https://github.com/Szum123321/textile_backup/wiki/ZIP-Problems
|
||||||
In case this isn't it here's also the exception itself!""", e);
|
In case this isn't it here's also the exception itself""", e);
|
||||||
|
|
||||||
if(ctx.getInitiator() == ActionInitiator.Player) {
|
if(ctx.getInitiator() == ActionInitiator.Player) {
|
||||||
log.sendError(ctx, "Backup failed. The file is corrupt.");
|
log.sendError(ctx, "Backup failed. The file is corrupt.");
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
"text.autoconfig.textile_backup.option.path": "Path to backup folder",
|
"text.autoconfig.textile_backup.option.path": "Path to backup folder",
|
||||||
|
|
||||||
"text.autoconfig.textile_backup.option.fileBlacklist": "Blacklised files",
|
"text.autoconfig.textile_backup.option.fileBlacklist": "Blacklisted files",
|
||||||
|
|
||||||
"text.autoconfig.textile_backup.option.deleteOldBackupAfterRestore": "Delete restored backup",
|
"text.autoconfig.textile_backup.option.deleteOldBackupAfterRestore": "Delete restored backup",
|
||||||
|
|
||||||
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
"text.autoconfig.textile_backup.option.permissionLevel": "Min permission level required to run any command",
|
"text.autoconfig.textile_backup.option.permissionLevel": "Min permission level required to run any command",
|
||||||
|
|
||||||
"text.autoconfig.textile_backup.option.alwaysSingleplayerAllowed": "Always allow on sigle-player",
|
"text.autoconfig.textile_backup.option.alwaysSingleplayerAllowed": "Always allow on single-player",
|
||||||
|
|
||||||
"text.autoconfig.textile_backup.option.playerWhitelist": "Admin Whitelist",
|
"text.autoconfig.textile_backup.option.playerWhitelist": "Admin Whitelist",
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user