2021-04-28 08:10:22 +10:00
|
|
|
From 7c03903b5afb23554036de80c3cdd2695f3e0673 Mon Sep 17 00:00:00 2001
|
2019-04-23 12:00:00 +10:00
|
|
|
From: md_5 <git@md-5.net>
|
|
|
|
Date: Sun, 12 Jan 2014 20:56:41 +1100
|
|
|
|
Subject: [PATCH] Try and Debug Crash Reports Crashing
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
2021-04-28 08:10:22 +10:00
|
|
|
index 0f86f5837..cf3a033dc 100644
|
2019-04-23 12:00:00 +10:00
|
|
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
2021-04-28 08:10:22 +10:00
|
|
|
@@ -1188,7 +1188,14 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant<TickTas
|
2020-06-25 10:00:00 +10:00
|
|
|
worldserver.doTick(booleansupplier);
|
|
|
|
worldserver.timings.doTick.stopTiming(); // Spigot
|
|
|
|
} catch (Throwable throwable) {
|
|
|
|
- CrashReport crashreport = CrashReport.a(throwable, "Exception ticking world");
|
|
|
|
+ // Spigot Start
|
|
|
|
+ CrashReport crashreport;
|
|
|
|
+ try {
|
|
|
|
+ crashreport = CrashReport.a(throwable, "Exception ticking world");
|
|
|
|
+ } catch (Throwable t) {
|
|
|
|
+ throw new RuntimeException("Error generating crash report", t);
|
|
|
|
+ }
|
|
|
|
+ // Spigot End
|
2019-04-23 12:00:00 +10:00
|
|
|
|
2020-06-25 10:00:00 +10:00
|
|
|
worldserver.a(crashreport);
|
|
|
|
throw new ReportedException(crashreport);
|
2019-04-23 12:00:00 +10:00
|
|
|
--
|
2020-05-09 18:48:11 +10:00
|
|
|
2.25.1
|
2019-04-23 12:00:00 +10:00
|
|
|
|