Early define CrashReport classes to combat invalid crash details.
This commit is contained in:
parent
025d4f8f25
commit
9a72d50dec
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
|||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.crash.CrashReport;
|
||||
import net.minecraft.entity.monster.EntityEnderman;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -207,6 +208,9 @@ public class MinecraftForge
|
|||
|
||||
EVENT_BUS.register(INTERNAL_HANDLER);
|
||||
OreDictionary.getOreName(0);
|
||||
|
||||
//Force these classes to be defined, Should prevent derp error hiding.
|
||||
new CrashReport("ThisIsFake", new Exception("Not real"));
|
||||
}
|
||||
|
||||
public static String getBrandingVersion()
|
||||
|
|
Loading…
Reference in a new issue