From f8c0208e96ecbee5d2b7506d9d71e697d392bc7d Mon Sep 17 00:00:00 2001 From: Brandtware Date: Sun, 24 Mar 2024 19:50:59 +0100 Subject: [PATCH] Fix wrong return type mention in AStarGrid2D docs --- doc/classes/AStar2D.xml | 2 +- doc/classes/AStar3D.xml | 2 +- doc/classes/AStarGrid2D.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/classes/AStar2D.xml b/doc/classes/AStar2D.xml index c877b3de781..2ea6aa15bdb 100644 --- a/doc/classes/AStar2D.xml +++ b/doc/classes/AStar2D.xml @@ -234,7 +234,7 @@ Returns an array with the points that are in the path found by AStar2D between the given points. The array is ordered from the starting point to the ending point of the path. If there is no valid path to the target, and [param allow_partial_path] is [code]true[/code], returns a path to the point closest to the target that can be reached. - [b]Note:[/b] This method is not thread-safe. If called from a [Thread], it will return an empty [PackedVector2Array] and will print an error message. + [b]Note:[/b] This method is not thread-safe. If called from a [Thread], it will return an empty array and will print an error message. diff --git a/doc/classes/AStar3D.xml b/doc/classes/AStar3D.xml index c8a80a90122..281f4edcc1f 100644 --- a/doc/classes/AStar3D.xml +++ b/doc/classes/AStar3D.xml @@ -261,7 +261,7 @@ Returns an array with the points that are in the path found by AStar3D between the given points. The array is ordered from the starting point to the ending point of the path. If there is no valid path to the target, and [param allow_partial_path] is [code]true[/code], returns a path to the point closest to the target that can be reached. - [b]Note:[/b] This method is not thread-safe. If called from a [Thread], it will return an empty [PackedVector3Array] and will print an error message. + [b]Note:[/b] This method is not thread-safe. If called from a [Thread], it will return an empty array and will print an error message. diff --git a/doc/classes/AStarGrid2D.xml b/doc/classes/AStarGrid2D.xml index 794e40fde9e..5ccc0c8f2a3 100644 --- a/doc/classes/AStarGrid2D.xml +++ b/doc/classes/AStarGrid2D.xml @@ -89,7 +89,7 @@ Returns an array with the points that are in the path found by [AStarGrid2D] between the given points. The array is ordered from the starting point to the ending point of the path. If there is no valid path to the target, and [param allow_partial_path] is [code]true[/code], returns a path to the point closest to the target that can be reached. - [b]Note:[/b] This method is not thread-safe. If called from a [Thread], it will return an empty [PackedVector3Array] and will print an error message. + [b]Note:[/b] This method is not thread-safe. If called from a [Thread], it will return an empty array and will print an error message.