mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Bugfix: questData.dat rename.
This commit is contained in:
@@ -334,7 +334,7 @@ public class ControlQuest {
|
|||||||
dirQuests.mkdirs();
|
dirQuests.mkdirs();
|
||||||
}
|
}
|
||||||
File olddata = new File("res/quest/questData.dat");
|
File olddata = new File("res/quest/questData.dat");
|
||||||
File newpath = new File(dirQuests.getPath() + "questData.dat");
|
File newpath = new File(dirQuests.getPath() + "/questData.dat");
|
||||||
|
|
||||||
if (olddata.exists()) { olddata.renameTo(newpath); }
|
if (olddata.exists()) { olddata.renameTo(newpath); }
|
||||||
// end block which can be deleted
|
// end block which can be deleted
|
||||||
|
|||||||
Reference in New Issue
Block a user