I receive an error, saying that the function crushing is undefined
let crushing (material) => {
event.recipes.createCrushing([`2x gtceu:crushed.${material}`, 'gtceu:dust.stone'], `kubejs:${material}_ore_chunk`)
}
let materials = ["diamond","almandine","aluminium","beryllium","cassiterite","chalcopyrite","coal","cobalt","cobaltite","copper","emerald","galena","garnierite","gold","graphite","iron","lapis","lazurite","lead","nickel","palladium","platinum","redstone","silver","thorium","tin","pyrite","grossular","bentonite","cinnabar","magnesite","malachite","olivine","pyrolusite","pyrope","ruby","spessartine","tantalite","yellow_limonite","green_sapphire"]
materials.forEach(material => crushing(material))
