Fixed Bugs #154
@@ -250,9 +250,9 @@ public class DDSaveHandler
|
||||
|
||||
// Get the save directory path
|
||||
File saveDirectory = new File(mod_pocketDim.instance.getCurrentSavePath() + "/DimensionalDoors/data/");
|
||||
File backupDirectory = new File(saveDirectory + "/backup");
|
||||
String savePath = saveDirectory.getAbsolutePath();
|
||||
String baseSavePath = savePath + "/dim_";
|
||||
File backupDirectory = new File(savePath + "/backup");
|
||||
String baseBackupPath = backupDirectory.getAbsolutePath() + "/dim_";
|
||||
|
||||
if (!saveDirectory.exists())
|
||||
@@ -261,6 +261,11 @@ public class DDSaveHandler
|
||||
Files.createParentDirs(saveDirectory);
|
||||
saveDirectory.mkdir();
|
||||
}
|
||||
if (!backupDirectory.exists())
|
||||
{
|
||||
// Create the backup directory
|
||||
backupDirectory.mkdir();
|
||||
}
|
||||
|
||||
// Create and write the blackList
|
||||
writeBlacklist(blacklist, savePath);
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user