This repository has been archived by the owner on Aug 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add markdown formatting to crash reports
- Loading branch information
1 parent
cccaabb
commit 4a8d3a9
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
From 3a601f8269d3627c83267bae998ef8e863ab2dc5 Mon Sep 17 00:00:00 2001 | ||
From 090b85c5d956b6e40ee83ba1ffc8d259c1ee6630 Mon Sep 17 00:00:00 2001 | ||
From: Alexander01998 <[email protected]> | ||
Date: Thu, 3 Nov 2016 08:57:56 +0100 | ||
Date: Thu, 3 Nov 2016 09:52:09 +0100 | ||
Subject: [PATCH] mod | ||
|
||
--- | ||
|
@@ -51,7 +51,7 @@ Subject: [PATCH] mod | |
.../client/renderer/texture/TextureUtil.java | 2 +- | ||
net/minecraft/client/resources/SkinManager.java | 7 + | ||
net/minecraft/client/settings/KeyBinding.java | 2 +- | ||
net/minecraft/crash/CrashReport.java | 74 ++++++- | ||
net/minecraft/crash/CrashReport.java | 79 +++++++- | ||
net/minecraft/crash/CrashReportCategory.java | 12 +- | ||
net/minecraft/entity/Entity.java | 57 ++++-- | ||
net/minecraft/entity/EntityLivingBase.java | 19 +- | ||
|
@@ -75,7 +75,7 @@ Subject: [PATCH] mod | |
net/minecraft/world/chunk/Chunk.java | 2 +- | ||
.../world/gen/structure/MapGenStructure.java | 6 +- | ||
net/minecraft/world/storage/WorldInfo.java | 18 +- | ||
71 files changed, 1321 insertions(+), 445 deletions(-) | ||
71 files changed, 1326 insertions(+), 445 deletions(-) | ||
|
||
diff --git a/net/minecraft/block/Block.java b/net/minecraft/block/Block.java | ||
index 25c6330..00426a2 100644 | ||
|
@@ -3263,7 +3263,7 @@ index b4047b4..14c19d7 100644 | |
|
||
public static void onTick(int keyCode) | ||
diff --git a/net/minecraft/crash/CrashReport.java b/net/minecraft/crash/CrashReport.java | ||
index dad5efd..f6ebd2c 100644 | ||
index dad5efd..2c82774 100644 | ||
--- a/net/minecraft/crash/CrashReport.java | ||
+++ b/net/minecraft/crash/CrashReport.java | ||
@@ -1,6 +1,7 @@ | ||
|
@@ -3356,13 +3356,14 @@ index dad5efd..f6ebd2c 100644 | |
{ | ||
public String call() throws Exception | ||
{ | ||
@@ -229,7 +239,13 @@ public class CrashReport | ||
@@ -229,7 +239,14 @@ public class CrashReport | ||
public String getCompleteReport() | ||
{ | ||
StringBuilder stringbuilder = new StringBuilder(); | ||
- stringbuilder.append("---- Minecraft Crash Report ----\n"); | ||
+ | ||
+ // TODO: Client | ||
+ stringbuilder.append("```\n"); | ||
+ stringbuilder | ||
+ .append("---------------- Wurst Client Crash Report ----------------\n"); | ||
+ stringbuilder | ||
|
@@ -3371,7 +3372,18 @@ index dad5efd..f6ebd2c 100644 | |
stringbuilder.append("// "); | ||
stringbuilder.append(getWittyComment()); | ||
stringbuilder.append("\n\n"); | ||
@@ -371,7 +387,47 @@ public class CrashReport | ||
@@ -249,6 +266,10 @@ public class CrashReport | ||
|
||
stringbuilder.append("\n\n"); | ||
this.getSectionsInStringBuilder(stringbuilder); | ||
+ | ||
+ // TODO: Client | ||
+ stringbuilder.append("\n```"); | ||
+ | ||
return stringbuilder.toString(); | ||
} | ||
|
||
@@ -371,7 +392,47 @@ public class CrashReport | ||
*/ | ||
private static String getWittyComment() | ||
{ | ||
|