mirror of
https://github.com/LegacyModdingMC/ChunkAPI.git
synced 2026-10-26 14:24:51 +00:00
Merge remote-tracking branch 'GTNewHorizons/fix-backup' into dev
This commit is contained in:
1 file changed
+8
-5
@@ -413,11 +413,14 @@ public class DataRegistryImpl {
|
||||
StartupQuery.abort();
|
||||
}
|
||||
|
||||
try {
|
||||
ZipperUtil.backupWorld();
|
||||
} catch (IOException e) {
|
||||
StartupQuery.notify("The world backup couldn't be created.\n\n" + e);
|
||||
StartupQuery.abort();
|
||||
String skip = System.getProperty("fml.doNotBackup");
|
||||
if (skip == null || !"true".equals(skip)) {
|
||||
try {
|
||||
ZipperUtil.backupWorld();
|
||||
} catch (IOException e) {
|
||||
StartupQuery.notify("The world backup couldn't be created.\n\n" + e);
|
||||
StartupQuery.abort();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user