Started packing save data. At least it writes

This commit is contained in:
StevenRS11
2013-10-17 04:00:32 -04:00
parent 3376c1d772
commit 9418ed59df
10 changed files with 144 additions and 8 deletions

View File

@@ -75,6 +75,7 @@ public class DDSaveHandler
String basePath = DimensionManager.getCurrentSaveRootDirectory() + "/DimensionalDoors/data/";
File basePathFile = new File(basePath);
Files.createParentDirs(basePathFile);
basePathFile.mkdir();
basePathFile = null;
basePath += "dim_";
@@ -101,7 +102,7 @@ public class DDSaveHandler
catch (Exception e)
{
System.err.println("Could not save data for dimension #" + dimension.name() + ". The following error occurred:");
printException(e, false);
printException(e, true);
return false;
}
}