TeamSpeak-3-Java-API
TeamSpeak-3-Java-API copied to clipboard
No output Data for ClientLeaveEvent
Hi, I've been following this project for a while now and I'm also a loyal user of this API, unfortunately I'm noticing more and more that some functions don't return a value, this includes the whole Client Leave event, if you try to get client data from a disconnected client you don't get any output, meaning the code block is just skipped:
client client = Main.api.getClientInfo(event.getClientId());
Mysql.insertRecentActivitie("Client disconnected", client.getNickname());
Is there a possibility to add this function?
Keep in mind this is just a wrapper for the teamspeak API. Any limitations are likely limitations of teamspeak instead of this wrapper.
Since you're talking about issues with ClientLeaveEvents in particular, I'll refer you to this issue, which links to some other useful faqs. https://github.com/TheHolyWaffle/TeamSpeak-3-Java-API/issues/388