v7.0.1, build: 2055

This commit is contained in:
Parker2991
2025-02-11 06:41:30 -06:00
parent 7eadb4eccd
commit 6d43ecc249
3 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -5,10 +5,10 @@ function inject (context) {
bot.on('packet.position', packet => {
bot.position = {
x: packet.flags & 1 ? (this.x + packet.x) : packet.x,
y: packet.flags & 2 ? (this.y + packet.y) : packet.y,
z: packet.flags & 4 ? (this.z + packet.z) : packet.z
};
x: packet.x,
y: packet.y,
z: packet.z
}
bot._client.write('teleport_confirm', { teleportId: packet.teleportId })