Mechanics - Crafting Ways

Mechanics - Crafting Ways

250k Downloads

Load crush and wrong crush info (Malformed)

Krutoy242 opened this issue ยท 0 comments

commented

Inserting empty line in mechanics_burst_seeds.txt cause game crush during early loading. It followed by message "burst seed line:" but no actual .txt line printed.

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Mechanics (mechanics)
Caused by: java.lang.reflect.MalformedParametersException: Malformed burst seed line: 
	at wolforce.mechanics.registry.RegisterRecipes.registerRecipesConstruct(RegisterRecipes.java:111)
	at wolforce.mechanics.Mechanics.registerConstructionRecipes(Mechanics.java:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)

Expected actual line with error provided.

  • Requesting omit empty lines - if user leave empty line, they most probably made this intentionally, and aware this line wouldn't parse.
  • Additionally, requesting parsing exception catching, without crushing game. Write [ERROR] line in log as most mods do.
    As each line of mechanics_burst_seeds.txt works separately, it should omit lines with errors and continue working with other lines.