mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 04:32:15 +00:00
Fix issue with --modListFile. (#5316)
This commit is contained in:
1 parent
a5f29570a3
commit
c5402d50fa
1 file changed
+2
-2
@@ -63,7 +63,7 @@ public class ModList
|
||||
@SuppressWarnings("unchecked")
|
||||
public static List<ModList> getKnownLists(File mcdir)
|
||||
{
|
||||
for (String list : new String[] {"mods/mod_list.json", "mods/" + ForgeVersion.mcVersion + "/mod_list.json", ((Map<String, String>)Launch.blackboard.get("launchArgs")).get("--modListFile")})
|
||||
for (String list : new String[] {"mods/mod_list.json", "mods/" + ForgeVersion.mcVersion + "/mod_list.json", ((Map<String, String>)Launch.blackboard.get("forgeLaunchArgs")).get("--modListFile")})
|
||||
{
|
||||
if (list != null)
|
||||
{
|
||||
@@ -84,7 +84,7 @@ public class ModList
|
||||
if (memory != null)
|
||||
lst.add(memory);
|
||||
|
||||
for (String list : new String[] {"mods/mod_list.json", "mods/" + ForgeVersion.mcVersion + "/mod_list.json", ((Map<String, String>)Launch.blackboard.get("launchArgs")).get("--modListFile")})
|
||||
for (String list : new String[] {"mods/mod_list.json", "mods/" + ForgeVersion.mcVersion + "/mod_list.json", ((Map<String, String>)Launch.blackboard.get("forgeLaunchArgs")).get("--modListFile")})
|
||||
{
|
||||
if (list != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user