mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 05:40:00 +03:00
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
--- ../src-base/minecraft/net/minecraft/crash/CrashReport.java
|
|
+++ ../src-work/minecraft/net/minecraft/crash/CrashReport.java
|
|
@@ -15,6 +15,7 @@
|
|
import java.util.List;
|
|
import net.minecraft.util.ReportedException;
|
|
import net.minecraft.world.gen.layer.IntCache;
|
|
+import net.minecraftforge.fml.common.ICrashCallable;
|
|
import net.minecraftforge.fml.relauncher.Side;
|
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
|
import org.apache.commons.io.IOUtils;
|
|
@@ -116,6 +117,8 @@
|
|
return IntCache.getCacheSizes();
|
|
}
|
|
});
|
|
+ this.systemDetailsCategory.addDetail("CraftBukkit Information", (ICrashReportDetail) new org.bukkit.craftbukkit.CraftCrashReport());
|
|
+ net.minecraftforge.fml.common.FMLCommonHandler.instance().enhanceCrashReport(this, this.systemDetailsCategory);
|
|
}
|
|
|
|
public String getDescription()
|
|
@@ -205,6 +208,7 @@
|
|
{
|
|
StringBuilder stringbuilder = new StringBuilder();
|
|
stringbuilder.append("---- Minecraft Crash Report ----\n");
|
|
+ net.minecraftforge.fml.relauncher.CoreModManager.onCrash(stringbuilder);
|
|
stringbuilder.append("// ");
|
|
stringbuilder.append(getWittyComment());
|
|
stringbuilder.append("\n\n");
|