Cleanup (2)

This commit is contained in:
Anuken
2019-10-29 16:00:13 -04:00
parent b86218b75a
commit f1519f7aba
2 changed files with 2 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ public class ModCrashHandler{
public static void handle(Throwable t){
Array<Throwable> list = Strings.getCauses(t);
Throwable modCause = list.find(e -> e instanceof ModLoadException);
if(modCause != null && Fonts.outline != null){
String text = "[scarlet][[A fatal crash has occured while loading a mod!][]\n\nReason:[accent] " + modCause.getMessage();
String bottom = "[scarlet]The associated mod has been disabled. Swipe out of the app and launch it again.";