MVELHelper.executeExpression(spawnListEntry.getOptionalPostSpawning().get(), tags,
"Error processing compiled spawnlistentry postSpawn expression for " + livingID);
}
}
public static File getFile(File configDirectory, String saveName, String fileName) {
<BUG>String filePath = DefaultProps.WORLDSETTINGSDIR + saveName + "/" + DefaultProps.ENTITYHANDLERDIR;
if (fileName != null && !fileName.equals("")) {</BUG>
filePath = filePath.concat(fileName).concat(".cfg");
}
return new File(configDirectory, filePath);

MVELHelper.executeExpression(spawnListEntry.getOptionalPostSpawning().get(), tags,
"Error processing compiled spawnlistentry postSpawn expression for " + livingID);
}
}
public static File getFile(File configDirectory, String saveName, String fileName) {
String filePath = saveName + "/" + DefaultProps.ENTITYHANDLERDIR;
if (fileName != null && !fileName.equals("")) {
filePath = filePath.concat(fileName).concat(".cfg");
}
return new File(configDirectory, filePath);
