Parse Minecraft version from CrashReport instead of using Minecraft.getVersion()

Using the getVersion() method doesn't produce consistent results (e.g. MultiMC5 changes the value). The Minecraft version in the CrashReport is hard-coded and should therefore be rather consistent.
This commit is contained in:
johni0702
2015-08-30 14:57:06 +02:00
parent 5d921fbb58
commit 2bc79c0140
5 changed files with 25 additions and 18 deletions

View File

@@ -97,5 +97,9 @@ public net.minecraft.client.settings.GameSettings field_151446_aD # mapSoundLeve
# Frustum
public net.minecraft.client.renderer.culling.Frustum field_78552_a # clippingHelper
# CrashReportCategory
public net.minecraft.crash.CrashReportCategory field_85077_c # children
public net.minecraft.crash.CrashReportCategory$Entry
# Example
# public net.minecraft.package.ClassName func_some_id(Ljava/lang/Class;IZS)V # methodName