Closed edewit closed 1 year ago
@edewit reminded me today that this is a test timing issue which happens because Piggy is already talking
I suspect the problem we that we (currently, this may change in #400; or a planned new PR with a subset of it) have Mineflayer with two tests, and if they are fast, the second one starts while piggy is still narrating from the whenPlayerJoins() of the first one.
@edewit mentioned another way to solve it could have been by logging in to the server with mineflayer for the whole test, not just for each test case.
Sometimes on joining the server I get the following stack trace:
It's strange because "Piggy" does exist, could it be that it's to far away?