GsonHelper.writeToGson(FileUtilities.createWriter(saveFile, true),
new BiomeSpawnsSaveObject(entrySet.getValue(), sortCreatureByBiome), gson);
}
}
public static File getFile(File configDirectory, String saveName, String fileName) {
<BUG>String filePath = DefaultProps.WORLDSETTINGSDIR + saveName + "/" + DefaultProps.ENTITYSPAWNRDIR;
if (fileName != null && !fileName.equals("")) {</BUG>
filePath = filePath.concat(fileName).concat(".cfg");
}
return new File(configDirectory, filePath);

GsonHelper.writeToGson(FileUtilities.createWriter(saveFile, true),
new BiomeSpawnsSaveObject(entrySet.getValue(), sortCreatureByBiome), gson);
}
}
public static File getFile(File configDirectory, String saveName, String fileName) {
String filePath = saveName + "/" + DefaultProps.ENTITYSPAWNRDIR;
if (fileName != null && !fileName.equals("")) {
filePath = filePath.concat(fileName).concat(".cfg");
}
return new File(configDirectory, filePath);
