Issue with passengers: Cannot read properties of null (reading 'passengers') #3632
Labels
possible bug
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Versions
Detailed description of a problem
When in Hypixel lobbies, there are errors relating to passengers that are not present on older mineflayer versions (such as 4.20.1). I am testing the latest version of Mineflayer, 4.27.0 which has fixes related to passengers, but the issue still persists.
What did you try yet?
I have tried multiple different mineflayer versions. Before 4.27.0, you could not join the server before getting kicked. Now, it doesn't fail to connect to the server, though does kick after a few seconds.
Mineflayer
4.20.1
is the last working version I found.Your current code
(summarized)
Additional context
Implementing null checks before accessing the
passengers
property prevents the error, but appears to be addressing the symptom rather than the underlying cause:The text was updated successfully, but these errors were encountered: