very good suggestion

This commit is contained in:
Leijurv
2019-05-28 14:17:54 -07:00
parent aa0f664cda
commit a1e2b018a2

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);