PaperMC/paper-server/patches/sources/net/minecraft/CrashReport.java.patch

13 lines
554 B
Diff

--- a/net/minecraft/CrashReport.java
+++ b/net/minecraft/CrashReport.java
@@ -34,8 +34,10 @@
private final SystemReport systemReport = new SystemReport();
public CrashReport(String message, Throwable cause) {
+ io.papermc.paper.util.StacktraceDeobfuscator.INSTANCE.deobfuscateThrowable(cause); // Paper
this.title = message;
this.exception = cause;
+ this.systemReport.setDetail("CraftBukkit Information", new org.bukkit.craftbukkit.CraftCrashReport()); // CraftBukkit
}
public String getTitle() {