Skip to content

Commit

Permalink
successfully added partial path execution
Browse files Browse the repository at this point in the history
  • Loading branch information
GenerelSchwerz committed Mar 4, 2024
1 parent 703c23e commit f8095f2
Show file tree
Hide file tree
Showing 3 changed files with 415 additions and 384 deletions.
4 changes: 2 additions & 2 deletions examples/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ bot.once("spawn", async () => {

bot.on('physicsTick', () => {
if (bot.getControlState('forward') && bot.getControlState('back')) {
// console.log(bot.pathfinder.currentExecutor.constructor.name)
console.log(bot.pathfinder.currentExecutor.constructor.name)

throw new Error('both forward and back are true')
// throw new Error('both forward and back are true')

}
})
Expand Down
Loading

0 comments on commit f8095f2

Please sign in to comment.