Skip to content

Commit

Permalink
Fix Launch directory fields not being set
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenraven committed Mar 2, 2024
1 parent fab7039 commit 036eed8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/net/minecraft/launchwrapper/Launch.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ private Launch() throws Throwable {
final List<String> tweakClasses = new ArrayList<>(options.valuesOf(aTweakClass));
final List<String> remainingArgs = options.valuesOf(aRemainder);

Launch.minecraftHome = gameDir;
Launch.assetsDir = assetsDir;
Main.initialGameVersion = version;
Main.initialGameDir = gameDir != null ? gameDir : new File(".");
Main.initialAssetsDir = assetsDir;
Expand Down

0 comments on commit 036eed8

Please sign in to comment.