This commit is contained in:
Konloch 2022-02-13 16:00:21 -06:00
parent 7b7a7a06e5
commit 7df1312741

View file

@ -179,7 +179,7 @@ public class MiscUtils
public static File autoAppendFileExtension(String extension, File file)
{
if (!file.getName().endsWith(extension))
file = new File(file.getName() + extension);
file = new File(file.getAbsolutePath() + extension);
return file;
}