aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/mache-spigotflower-stripped/net/minecraft/CrashReport.java.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/mache-spigotflower-stripped/net/minecraft/CrashReport.java.patch')
-rw-r--r--patch-remap/mache-spigotflower-stripped/net/minecraft/CrashReport.java.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/patch-remap/mache-spigotflower-stripped/net/minecraft/CrashReport.java.patch b/patch-remap/mache-spigotflower-stripped/net/minecraft/CrashReport.java.patch
new file mode 100644
index 0000000000..dc7d90482e
--- /dev/null
+++ b/patch-remap/mache-spigotflower-stripped/net/minecraft/CrashReport.java.patch
@@ -0,0 +1,16 @@
+--- 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() {