Skip to content
This repository has been archived by the owner on Aug 10, 2018. It is now read-only.

Commit

Permalink
Add markdown formatting to crash reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Nov 3, 2016
1 parent cccaabb commit 4a8d3a9
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions patch/minecraft.patch
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

---
Expand Down Expand Up @@ -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 +-
Expand All @@ -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
Expand Down Expand Up @@ -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 @@
Expand Down Expand Up @@ -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
Expand All @@ -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()
{
Expand Down

0 comments on commit 4a8d3a9

Please sign in to comment.