java: path to cached file was wrong

This commit is contained in:
rafal1137 2020-05-14 20:25:27 +02:00
parent cbc1b2a069
commit 25bff2197a
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ public class ETLMain extends SDLActivity {
public void onFinish() {
super.onFinish();
try {
Files.move(getApplication().getCacheDir().getAbsoluteFile(), new File(getExternalFilesDir(null), "pak2.pk3"));
Files.move(file.getAbsoluteFile(), new File(getExternalFilesDir(null), "pak2.pk3"));
} catch (IOException e) {
e.printStackTrace();
}