Fix NPE in new debug line when patch targets don't exist.
This commit is contained in:
parent
67caa6692d
commit
66531ad420
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue