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

This commit is contained in:
DaemonUmbra 2019-08-02 21:48:46 -04:00 committed by LexManos
parent ed1c55508f
commit 44f3f9e2d0
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}