partial rv 7fe3e28a, fixes Forge on 1.12
This commit is contained in:
1 parent
11e5dc3782
commit
3c77f249e5
1 file changed
-6
@@ -41,11 +41,5 @@ public class HMCLMinecraftLoader extends MinecraftLoader {
|
||||
|
||||
list.add("-Dminecraft.launcher.version=" + Main.LAUNCHER_VERSION);
|
||||
list.add("-Dminecraft.launcher.brand=" + Main.LAUNCHER_NAME);
|
||||
|
||||
boolean flag = false;
|
||||
for (String s : list) if (s.contains("-Dlog4j.configurationFile=")) flag = true;
|
||||
if (!flag) {
|
||||
list.add("-Dlog4j.configurationFile=" + Main.LOG4J_FILE.getAbsolutePath());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user