JnCrMx / discord-game-sdk4j

Java bindings for Discord's Game SDK
MIT License
121 stars 23 forks source link

Fix wrong receiver for onSpeaking and onNetworkMessage causing stack overflow #42

Closed chrislo27 closed 2 years ago

chrislo27 commented 2 years ago

The lambda parameter was not having its event method called for onSpeaking and onNetworkMessage, so a stack overflow was occurring since the DiscordEventHandler was being recursively called.

JnCrMx commented 2 years ago

Thank you a lot for that fix! :+1: