mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix NPE
This commit is contained in:
1 parent
e27f1c3a70
commit
ebf945f2bd
2 files changed
+3
-1
No files matched your search
+1
-1
@@ -73,7 +73,7 @@
|
||||
</target>
|
||||
|
||||
<target name="buildandreobfmcp" depends="init">
|
||||
<exec executable="${python.exe}" dir="${mcp.home}">
|
||||
<exec executable="${python.exe}" dir="${mcp.home}" failonerror="true">
|
||||
<arg value="${mcp.home}/runtime/recompile.py"/>
|
||||
</exec>
|
||||
<exec executable="${python.exe}" dir="${mcp.home}">
|
||||
|
||||
@@ -20,6 +20,7 @@ import java.net.MalformedURLException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.logging.FileHandler;
|
||||
@@ -265,6 +266,7 @@ public class Loader {
|
||||
public void loadMods() {
|
||||
state = State.NOINIT;
|
||||
mods = new ArrayList<ModContainer>();
|
||||
namedMods = new HashMap<String,ModContainer>();
|
||||
load();
|
||||
sortModList();
|
||||
// Make mod list immutable
|
||||
|
||||
Reference in new issue
Block a user