|
try { |
|
ZipperUtil.backupWorld(); |
|
} catch (IOException e) { |
|
StartupQuery.notify("The world backup couldn't be created.\n\n" + e); |
|
StartupQuery.abort(); |
|
} |
This code does not do the check for "fml.doNotBackup" that FML does:
String skip = System.getProperty("fml.doNotBackup");
if (skip == null || !"true".equals(skip))
{
ZipperUtil.backupWorld();
}
The same check should be added to ChunkAPI
ChunkAPI/src/main/java/com/falsepattern/chunk/internal/DataRegistryImpl.java
Lines 416 to 421 in d7b4afe
This code does not do the check for "fml.doNotBackup" that FML does:
The same check should be added to ChunkAPI