mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-27 09:35:35 -05:00
fix
This commit is contained in:
parent
b0e158de84
commit
c36d3fdca3
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
/* eslint-disable require-jsdoc */
|
||||
function inject (bot) {
|
||||
bot.position = { x: 0, y: 0, z: 0 }
|
||||
bot._client.on('position', (position) => {
|
||||
bot.position = position
|
||||
bot.write('teleport_confirm', { teleportId: position.teleportId })
|
||||
|
|
Loading…
Reference in a new issue