Skip to content

Commit

Permalink
fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TabulateJarl8 committed Mar 28, 2021
1 parent 25341d2 commit 09339ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/modpackSwitcher/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ public void run(boolean ansi, boolean debug) {

System.out.println("OS: " + System.getProperty("os.name") + " | " + System.getProperty("os.version") + " | " + System.getProperty("os.arch") + "\n");

String absolutePath = config.get("system", "absoluteworkingdir") + "/packs";
absolutePath = config.get("system", "absoluteworkingdir") + "/packs";
System.out.println("packs directory in current directory: " + Files.exists(Paths.get(absolutePath)));
System.out.println("packs directory path: " + absolutePath);

File packsDir = new File(absolutePath);
String[] modpacks = packsDir.list(new FilenameFilter() {
modpacks = packsDir.list(new FilenameFilter() {
@Override
public boolean accept(File file, String s) {
return new File(file, s).isDirectory();
Expand Down

0 comments on commit 09339ab

Please sign in to comment.