safe file separators
This commit is contained in:
parent
43d5b6441b
commit
ff6488b371
@ -483,7 +483,7 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
||||
|
||||
public ArrayList<String> LoadFiles(String gameName)
|
||||
{
|
||||
File folder = new File("../../update/maps" + File.separatorChar + gameName);
|
||||
File folder = new File(".." + File.separatorChar + ".." + File.separatorChar + "update" + File.separatorChar + "maps" + File.separatorChar + gameName);
|
||||
if (!folder.exists()) folder.mkdirs();
|
||||
|
||||
ArrayList<String> maps = new ArrayList<String>();
|
||||
|
Loading…
Reference in New Issue
Block a user