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
In this case if the bot can't "see" block they stops all the bot,
I think need one return for "end of function" if when end of function all is okey, fine but if they found any error for do something (go mo re near of the block, or restart, anything, but no stop all)
What do you think? on my custom behaviors i implemented this for avoid errors, (example error on server transaction on change held block )
The text was updated successfully, but these errors were encountered:
I think in the behaviors must have a 2 returns value,
One of "is finished" and another one about found any error,
For example:
https://github.com/PrismarineJS/mineflayer-statemachine/blob/d69786e1f0e36c22d30d0c8f58abb6fa4254c937/src/behaviors/behaviorInteractBlock.ts
In this case if the bot can't "see" block they stops all the bot,
I think need one return for "end of function" if when end of function all is okey, fine but if they found any error for do something (go mo re near of the block, or restart, anything, but no stop all)
What do you think? on my custom behaviors i implemented this for avoid errors, (example error on server transaction on change held block )
The text was updated successfully, but these errors were encountered: