Update position.js
This commit is contained in:
parent
c0675ce4da
commit
f1fb3a9b9d
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ function inject(bot) {
|
|||
bot.position.pitch = flags & 16 ? (bot.position.pitch + pitch) : pitch
|
||||
|
||||
bot.write('teleport_confirm', { teleportId })
|
||||
|
||||
const newPosition = { ...bot.position };
|
||||
bot.emit('move', oldPosition, newPosition);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue