Paper/patch-remap/mache-spigotflower-stripped/net/minecraft/CrashReport.java.patch

17 lines
661 B
Diff
Raw Normal View History

2024-01-14 11:04:49 +01:00
--- a/net/minecraft/CrashReport.java
+++ b/net/minecraft/CrashReport.java
@@ -33,9 +33,10 @@
private StackTraceElement[] uncategorizedStackTrace = new StackTraceElement[0];
private final SystemReport systemReport = new SystemReport();
- public CrashReport(String s, Throwable throwable) {
- this.title = s;
- this.exception = throwable;
+ public CrashReport(String title, Throwable exception) {
+ this.title = title;
+ this.exception = exception;
+ this.systemReport.setDetail("CraftBukkit Information", new org.bukkit.craftbukkit.CraftCrashReport()); // CraftBukkit
}
public String getTitle() {