Can only paint foliage on one of two landscapes.[Solved]

I figured out a workaround that isn’t great but it works. I copied a layer in my landscape material and used Landscape Grass Type on it. So if i want to paint a foliage on my landscape I can paint the new material layer with the foliage on it instead. I am still unable to use the foliage paint tool and I would rather use the foliage paint tool.