moveAxisTask() set bot.lookargument force to true

This commit is contained in:
方而静 2023-10-31 10:54:32 +08:00
parent acf668a7ee
commit 0f2837029e
Signed by: szTom
GPG Key ID: 072D999D60C6473C

View File

@ -109,7 +109,7 @@ async function moveAxisTask(bot, task, axis_raw, target_raw, level) {
const stable_axis_value = target[stable_axis];
logger('moveAxisTask() pre adjust look angle');
await bot.look(axis * Math.PI / 2, 0);
await bot.look(axis * Math.PI / 2, 0, true);
logger('moveAxisTask() post adjust look angle');
task._interuptableHere();