So the recent change of adding logging to the kick functionality introduced a bug.
A brief check of the code makes me think its simply an NRE type problem, the data.gatherer object doesn't contain the full details of the player being kicked, maybe just the id.
So my change is small, I'm simply logging the kicked players ID instead of their username as I do not have a proper dev environment for this project.
Unfortunately I have not tested this change at all :(
So the recent change of adding logging to the kick functionality introduced a bug. A brief check of the code makes me think its simply an NRE type problem, the data.gatherer object doesn't contain the full details of the player being kicked, maybe just the id. So my change is small, I'm simply logging the kicked players ID instead of their username as I do not have a proper dev environment for this project.
Unfortunately I have not tested this change at all :(