Closed TAG-Epic closed 1 year ago
This was caused by a race condition where the HELLO event was received before the temporary listener was added.
This makes it a event so anybody can hook into it in case they want to, and cleans up the code a bit.
Fixes #251
Confirmed working by @THEGOLDENPRO https://github.com/nextsnake/nextcore/issues/251#issuecomment-1627837856
This was caused by a race condition where the HELLO event was received before the temporary listener was added.
This makes it a event so anybody can hook into it in case they want to, and cleans up the code a bit.
Fixes #251