Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix gamemode incorrect reset #3386

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yanyancode
Copy link

When the packet's gamemode is undefined, the bot's gamemode resets to survival (when gamemode in server is unchanged at respawn).

When the packet's gamemode is undefined, the bot's gamemode resets to survival (when gamemode in server is unchanged).
@extremeheat
Copy link
Member

/fixlint

@rom1504bot
Copy link
Contributor

I ran npm run fix, but there are still some linting errors left that must be manually resolved:

> [email protected] fix
> standard --fix && standard-markdown --fix

  /home/runner/work/mineflayer/mineflayer/lib/plugins/game.js:27:25: Expected '!==' and instead saw '!='. (eqeqeq)
standard: Use JavaScript Standard Style (https://standardjs.com)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs triage
Development

Successfully merging this pull request may close these issues.

3 participants