mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-04-22 06:02:07 +02:00
doc string was missing module name
This commit is contained in:
parent
cd26c646b0
commit
960fc2ff26
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ export async function goToPosition(bot, x, y, z) {
|
|||
* @param {number} z, the z coordinate to navigate to. If null, the bot's current z coordinate will be used.
|
||||
* @returns {Promise<boolean>} true if the position was reached, false otherwise.
|
||||
* @example
|
||||
* let position = getPosition(bot);
|
||||
* let position = world.getPosition(bot);
|
||||
* await skills.goToPosition(bot, position.x, position.y, position.x + 20);
|
||||
**/
|
||||
if (x == null) x = bot.entity.position.x;
|
||||
|
|
Loading…
Add table
Reference in a new issue