diff --git a/plugins/position.js b/plugins/position.js index 488f628..5f90e1b 100644 --- a/plugins/position.js +++ b/plugins/position.js @@ -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 })