Previously, if there was a gap in module registration when the server sends their module registry, the module registration array would look something like:
Module1
Module2
Something like this would happen if the host has modules that you do not have.
The gap would cause a silent error upon lookup and module2 (In this case) would never be picked up and found.
This PR fixes this by properly skipping the invalid entries.
Previously, if there was a gap in module registration when the server sends their module registry, the module registration array would look something like:
The gap would cause a silent error upon lookup and module2 (In this case) would never be picked up and found. This PR fixes this by properly skipping the invalid entries.