I downloaded this after updating to version 0.9 of Foundry VTT and saw an issue when clicking the End Combat button, even after creating a fresh game world with only this module installed.
I was getting an error saying 'id' was unavailable. I found while debugging that combatant was no longer a property under combat and token.id didn't exist either.
I forked your project and fixed it in my fork and tested in Foundry, i was going to do a pull request with a new branch in your repository but didn't know if that was ok with you
I downloaded this after updating to version 0.9 of Foundry VTT and saw an issue when clicking the End Combat button, even after creating a fresh game world with only this module installed.
I was getting an error saying 'id' was unavailable. I found while debugging that combatant was no longer a property under combat and token.id didn't exist either.
I forked your project and fixed it in my fork and tested in Foundry, i was going to do a pull request with a new branch in your repository but didn't know if that was ok with you
Original code
My code that fixed the issue