Skip to content

Commit 3862007

Browse files
authored
Fix chatterbox example (PrismarineJS#3506)
1 parent 3829a25 commit 3862007

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/python/chatterbox.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
bot = mineflayer.createBot({
3131
"host": host,
3232
"port": port,
33-
"username": username,
34-
"port": port
33+
"username": username
3534
})
3635

3736
Item = require("prismarine-item")(bot.registry)
@@ -300,4 +299,4 @@ def entityEffect(this, entity, effect):
300299

301300
@On(bot, "entityEffectEnd")
302301
def entityEffectEnd(this, entity, effect):
303-
print("entityEffectEnd", entity, effect)
302+
print("entityEffectEnd", entity, effect)

0 commit comments

Comments
 (0)