2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/CrashReport.java
|
|
|
|
+++ b/net/minecraft/CrashReport.java
|
2024-12-14 19:06:52 +01:00
|
|
|
@@ -32,8 +_,10 @@
|
2021-06-21 03:19:09 +02:00
|
|
|
private final SystemReport systemReport = new SystemReport();
|
|
|
|
|
2024-12-14 19:06:52 +01:00
|
|
|
public CrashReport(String title, Throwable exception) {
|
|
|
|
+ io.papermc.paper.util.StacktraceDeobfuscator.INSTANCE.deobfuscateThrowable(exception); // Paper
|
|
|
|
this.title = title;
|
|
|
|
this.exception = exception;
|
2021-11-21 23:00:00 +01:00
|
|
|
+ this.systemReport.setDetail("CraftBukkit Information", new org.bukkit.craftbukkit.CraftCrashReport()); // CraftBukkit
|
2014-11-25 22:32:16 +01:00
|
|
|
}
|
|
|
|
|
2021-11-21 23:00:00 +01:00
|
|
|
public String getTitle() {
|
2024-12-14 19:06:52 +01:00
|
|
|
@@ -218,7 +_,7 @@
|
2024-01-18 23:25:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public static void preload() {
|
|
|
|
- MemoryReserve.allocate();
|
2024-12-14 19:06:52 +01:00
|
|
|
+ //MemoryReserve.allocate(); // Paper - Disable memory reserve allocating
|
|
|
|
new CrashReport("Don't panic!", new Throwable()).getFriendlyReport(ReportType.CRASH);
|
2024-01-18 23:25:09 +01:00
|
|
|
}
|
|
|
|
}
|