mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 01:17:42 +01:00
Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@d10c3129 Update inactive tick handler (#13621) PaperMC/Paper@6103cc7f Expand mobs-can-always-pick-up-loot.zombies for husk (#13624) PaperMC/Paper@255c25e2 fix "do not prematurely disconnect players on stop" (#13625) PaperMC/Paper@e17a767f Logging fixes around plugin disable and shutdown; logging cleanup (#13622) PaperMC/Paper@1f1406f1 Fix collision inconsistency with Vanilla PaperMC/Paper@6f71be80 Sync Moonrise
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
--- a/net/minecraft/CrashReport.java
|
|
+++ b/net/minecraft/CrashReport.java
|
|
@@ -30,6 +_,7 @@
|
|
private boolean trackingStackTrace = true;
|
|
private StackTraceElement[] uncategorizedStackTrace = new StackTraceElement[0];
|
|
private final SystemReport systemReport = new SystemReport();
|
|
+ private List<String> extraInfo = List.of("", "DO NOT REPORT THIS TO PAPER! REPORT TO PURPUR INSTEAD!", ""); // Purpur - Rebrand
|
|
|
|
public CrashReport(String title, Throwable exception) {
|
|
this.title = title;
|
|
@@ -129,7 +_,7 @@
|
|
}
|
|
|
|
public String getFriendlyReport(ReportType type) {
|
|
- return this.getFriendlyReport(type, List.of());
|
|
+ return this.getFriendlyReport(type, extraInfo); // Purpur - Rebrand
|
|
}
|
|
|
|
public @Nullable Path getSaveFile() {
|
|
@@ -159,7 +_,7 @@
|
|
}
|
|
|
|
public boolean saveToFile(Path path, ReportType type) {
|
|
- return this.saveToFile(path, type, List.of());
|
|
+ return this.saveToFile(path, type, extraInfo); // Purpur - Rebrand
|
|
}
|
|
|
|
public SystemReport getSystemReport() {
|