You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering some issues with the 'message' event in Mineflayer and I'm hoping someone can help me figure out what's going wrong. Below is the relevant code snippet I'm using:
The problem I'm experiencing is that the console output doesn't seem to match the expected behavior. Here's what I'm seeing in the console:
system null mopmop2
system null mopmop2
system null mopmop2
chat undefined false
chat undefined false
chat undefined false
chat undefined false
chat undefined false
chat undefined false
chat undefined false
chat undefined false
chat undefined false
chat undefined false
chat undefined false
chat undefined false
system null mopmop2
system null mopmop2
system null mopmop2
As you can see in the console output, position is correctly being outputted, but the sender and verified are acting up. As per the documentation for "message", in the place of mopmop2, it should be true, false, or null representing verified.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I'm encountering some issues with the 'message' event in Mineflayer and I'm hoping someone can help me figure out what's going wrong. Below is the relevant code snippet I'm using:
The problem I'm experiencing is that the console output doesn't seem to match the expected behavior. Here's what I'm seeing in the console:
As you can see in the console output, position is correctly being outputted, but the sender and verified are acting up. As per the documentation for "message", in the place of mopmop2, it should be true, false, or null representing verified.
Another example:
To me, it looks like there is an 5th additional arg being printed as "undefined" (jsonMsg is the first arg).
Beta Was this translation helpful? Give feedback.
All reactions