From f1fb3a9b9dd2d0e8a7749070888ec9d6097824a4 Mon Sep 17 00:00:00 2001 From: Yaode_owo Date: Fri, 18 Oct 2024 15:09:39 -0400 Subject: [PATCH] Update position.js --- position.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/position.js b/position.js index 096f79b..dbee738 100644 --- a/position.js +++ b/position.js @@ -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); });