very good suggestion

This commit is contained in:
Leijurv 2019-05-28 14:17:54 -07:00
parent aa0f664cda
commit a1e2b018a2
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ public class ExampleBaritoneControl implements Helper, AbstractGameEventListener
}
if (msg.equals("crash")) {
StringBuilder meme = new StringBuilder();
CrashReport rep = (new CrashReport("Manually triggered debug crash", new Throwable()));
CrashReport rep = new CrashReport("Manually triggered debug crash", new Throwable());
mc.addGraphicsAndWorldToCrashReport(rep);
new ReportedException(rep).printStackTrace();
rep.getSectionsInStringBuilder(meme);