doc string was missing module name

This commit is contained in:
Kolby Nottingham 2023-11-08 19:09:58 -08:00
parent cd26c646b0
commit 960fc2ff26

View file

@ -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;