mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix NPE in new debug line when patch targets don't exist.
This commit is contained in:
1 parent
0db4624b27
commit
4fa375683f
1 file changed
+1
-1
@@ -67,7 +67,7 @@ public class ClassPatchManager {
|
||||
return inputData;
|
||||
}
|
||||
boolean ignoredError = false;
|
||||
FMLLog.fine("Runtime patching class %s (input size %d), found %d patch%s", mappedName, inputData.length, list.size(), list.size()!=1 ? "es" : "");
|
||||
FMLLog.fine("Runtime patching class %s (input size %d), found %d patch%s", mappedName, (inputData == null ? 0 : inputData.length), list.size(), list.size()!=1 ? "es" : "");
|
||||
for (ClassPatch patch: list)
|
||||
{
|
||||
if (!patch.targetClassName.equals(mappedName))
|
||||
|
||||
Reference in new issue
Block a user