Yes looks like the budrot kind. Easy to avoid, theres harder ones to avoid than that Im now learning. Not really anything you can do but I do see people say its best for edibles and even thats not a great idea.
Id toss it. I done tossed a whole plant to mold of this kind my first few grows. I just tossed a half ib plant most of it due to dead colas.
Theres mold that you cant see or smell. Its the damnest thing. Need to protect your health.