ModTweaker

ModTweaker

88M Downloads

[Bug] Crucible & Vat Removals are throwing errors

Yulife opened this issue ยท 9 comments

commented

If you try to remove a Crucible Furnace Smelting Recipe (Not a fuel one) and a Vat recipe in general you will end up with an error.

Crucible Furnace Error
Crucible Furnace Script

Vat Error
Vat Script

commented

Mariculture seems to cache their recipes, or something, either way, I can't add recipes without it crashing when I look up recipes...

commented

@joshie is that true?

commented

Inserted some checks, will push later

commented

@joshiejack We are still waiting for a reply...

commented

no, but ya know, ya could look at the code, like I had to... (other mods)

commented

I know these work anyways... The crucible remove is used in regrowth...

commented

They do work, but like a few other things they aren't fond of a reload

commented

The issue is removals seem to leave a null value in recipe lists, jared try using iterator instead, and maybe check and remove all null entries.

commented

... @Yulife It would be good if your crucible script tried to remove an ACTUAL recipe!
Anyway this has been fixed in an earlier commit.