I learned from past posts that a comma is not needed before a coordinating conjunction. I wonder if the comma in the following sentence is grammatically needed or correct:

Competitive kite-flying leagues would be able to seek permits to hold events, but could have those permits revoked if debris is not cleared afterward.

Thanks for the advice