Cleanup (2)
This commit is contained in:
@@ -16,6 +16,7 @@ public class ModCrashHandler{
|
|||||||
public static void handle(Throwable t){
|
public static void handle(Throwable t){
|
||||||
Array<Throwable> list = Strings.getCauses(t);
|
Array<Throwable> list = Strings.getCauses(t);
|
||||||
Throwable modCause = list.find(e -> e instanceof ModLoadException);
|
Throwable modCause = list.find(e -> e instanceof ModLoadException);
|
||||||
|
|
||||||
if(modCause != null && Fonts.outline != null){
|
if(modCause != null && Fonts.outline != null){
|
||||||
String text = "[scarlet][[A fatal crash has occured while loading a mod!][]\n\nReason:[accent] " + modCause.getMessage();
|
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.";
|
String bottom = "[scarlet]The associated mod has been disabled. Swipe out of the app and launch it again.";
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=1ef49d3d5414dee434425f71b4cbf80c3f2ba19e
|
archash=7427c1283c865d3df9e3f76485e70f2d1c7454cd
|
||||||
|
|||||||
Reference in New Issue
Block a user