Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
link-discord authored Aug 27, 2024
1 parent 320358b commit bf565e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ npm install mineflayer-auto-eat
import { createBot } from 'mineflayer'
import { plugin as autoeat } from 'mineflayer-auto-eat'

const bot = mineflayer.createBot({
const bot = createBot({
host: process.argv[2],
port: process.argv[3],
username: process.argv[4],
Expand Down

0 comments on commit bf565e3

Please sign in to comment.