Update position.js

This commit is contained in:
Yaode_owo 2024-10-18 15:09:39 -04:00
parent c0675ce4da
commit f1fb3a9b9d

View file

@ -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);
});