CraftTweaker

CraftTweaker

151M Downloads

[1.12.2] Startup Crash when script is present

Tcoffma1 opened this issue ยท 4 comments

commented

Issue description

Making a personal pack for friends, made a really basic script that just deletes and adds different recipes.

Put in a Stone Kiln recipe, loaded up everything fine, then bam, weird unknown mod crash.
This crash doesn't occur when a zs file isn't present, everything works fine until I put the script in.

dude

Steps to reproduce

No response

Script used

https://pastebin.com/iGaHx91X

The crafttweaker.log file

https://pastebin.com/pFet0x6i

Minecraft version

1.12

Modloader

Forge

Modloader version

14.23.5.2855

CraftTweaker version

4.1.20.675

Other relevant information

No response

The latest.log file

https://gist.github.com/Tcoffma1/f6fab3f27a572e6b04204ab162efbd20

commented

Remove these lines:

GraniteAnvil.addRecipe("copdust_from_ore", copdust, copore, 12, "pickaxe");
IroncladAnvil.addRecipe("copdust_from_ore", copdust, copore, 12, "pickaxe");
 
GraniteAnvil.addRecipe("copplate_from_ing", copplate, copingot, 12, "hammer");
IroncladAnvil.addRecipe("copplate_from_ing", copplate, copingot, 12, "hammer");

and see if it still crashes?

commented

It actually loaded, is there like a limit or something to the amount of recipes I can add? Or is there something wrong with those recipes on Pyrotech's side.

commented

The recipe name should be unique. That is pyrotech's problem.

commented

Alright, this is fixed, giving the recipes different names from each other works, thank you all for your time :D