I fixed it by changing this :
local resourceBlacklist = {
["ground-water"] = true,
["thorium-ore"] = true
}
And commenting out :
-- add stone residue
-- if settings.startup["quarry-stone-waste-percentage"].value >= 0.1 and recipe.results[1].name ~= "stone" then
-- log("adding "..settings.startup["quarry-stone-waste-percentage"].value.."% stone waste to "..recipe.results[1].name)
-- recipe.results[1].probability = 1 - settings.startup["quarry-stone-waste-percentage"].value / 100
-- table.insert(recipe.results, {type = "item", name = "stone", amount = 1, probability = settings.startup["quarry-stone-waste-percentage"].value / 100} )
--end
I don't play with stone residue so it didn't bother me