Fix rock crafting bug

After KA101 mentioned the new mod "Vehicle Additions Pack" (huge thanks for that), I could reproduce and fix this.

It might fix all the related bugs, assuming all the users with those crafting problems used that new mod (none of them mentioned it, so who knows).

Also added invalidation of the crafting cache after getting items via debug menu.