fix(mover): ♿ lessen move duration for more precise control
This commit is contained in:
parent
a0893f2b29
commit
2f88eedce9
|
@ -256,7 +256,7 @@ function command(message_parts, player) {
|
|||
console.info(bot.controlState[message_parts[0]], bot.entity.position.floored())
|
||||
bot.setControlState(message_parts[0], true)
|
||||
console.info(bot.controlState[message_parts[0]])
|
||||
setTimeout(bot.setControlState, 200 * (message_parts[1] || 1), message_parts[0], false)
|
||||
setTimeout(bot.setControlState, 100 * (message_parts[1] || 2), message_parts[0], false)
|
||||
setTimeout(console.info, 5000, bot.controlState[message_parts[0]], bot.entity.position.floored())
|
||||
break
|
||||
case "stop":
|
||||
|
|
Loading…
Reference in New Issue
Block a user