This repository was archived by the owner on Jul 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/java/codechicken/lib/asm Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ public static File[] getConfFiles() {
110
110
throw new RuntimeException ("Failed to select mappings directory, set it manually in the config" );
111
111
}
112
112
113
- private static final int DIR_GUESSES = 5 ;
113
+ private static final int DIR_GUESSES = 6 ;
114
114
private static final int DIR_ASKS = 3 ;
115
115
116
116
public static File confDirectoryGuess (int i , ConfigTag tag ) {
@@ -132,6 +132,9 @@ public static File confDirectoryGuess(int i, ConfigTag tag) {
132
132
System .getProperty ("user.home" ),
133
133
".gradle/caches/minecraft/net/minecraftforge/forge/" + FMLInjectionData .data ()[4 ] + "-"
134
134
+ ForgeVersion .getVersion () + "-" + FMLInjectionData .data ()[4 ] + "/unpacked/conf" );
135
+ case 5 :
136
+ final String gradleCsvDir = System .getProperty ("net.minecraftforge.gradle.GradleStart.csvDir" );
137
+ return gradleCsvDir != null ? new File (gradleCsvDir ) : null ;
135
138
default :
136
139
JFileChooser fc = new JFileChooser (mcDir );
137
140
fc .setFileSelectionMode (JFileChooser .DIRECTORIES_ONLY );
You can’t perform that action at this time.
0 commit comments