Skip to content

Commit 086c611

Browse files
committed
fixed this out of order operation
1 parent 4bdab42 commit 086c611

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/lol/hyper/customlauncher

1 file changed

+2
-2
lines changed

src/main/java/lol/hyper/customlauncher/Main.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ public static void main(String[] args) throws IOException {
6565
"CustomLauncherRewrite https://github.com/hyperdefined/CustomLauncherRewrite "
6666
+ version;
6767

68-
ConfigHandler configHandler = new ConfigHandler();
69-
7068
// create the config folder
7169
final File configPath = new File("config");
7270
if (!configPath.exists()) {
7371
Files.createDirectory(configPath.toPath());
7472
logger.info("Creating config folder at " + configPath.getAbsolutePath());
7573
}
7674

75+
ConfigHandler configHandler = new ConfigHandler();
76+
7777
// create the ttr-files folder
7878
if (!ConfigHandler.INSTALL_LOCATION.exists()) {
7979
Files.createDirectory(ConfigHandler.INSTALL_LOCATION.toPath());

0 commit comments

Comments
 (0)