Fix a crash I caused by misunderstanding formatToString (#6007)

This commit is contained in:
DaemonUmbra authored and LexManos committed 2019-08-02 18:48:46 -07:00
1 parent ed1c55508f
commit 44f3f9e2d0
1 file changed
+1 -1
@@ -73,6 +73,6 @@ public class ModLoadingException extends RuntimeException
}
public String formatToString() {
return ForgeI18n.parseMessage(i18nMessage, Streams.concat(Stream.of(modInfo.getModId(), errorStage, getCause()), context.stream()).toArray());
return ForgeI18n.parseMessage(i18nMessage, Streams.concat(Stream.of(modInfo, errorStage, getCause()), context.stream()).toArray());
}
}