Skip to content

Commit

Permalink
flying initial control state fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Oct 28, 2023
1 parent 37493f7 commit 0531038
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ const startFlying = (sendAbilities = true) => {
}

const endFlying = (sendAbilities = true) => {
if (bot.physics.gravity !== 0) return
if (sendAbilities) {
bot._client.write('abilities', {
flags: 0,
Expand Down

0 comments on commit 0531038

Please sign in to comment.