From 9484315d37f9cb8acb8e36622f4bdde6b16d90f4 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Sun, 11 Aug 2024 14:11:14 +0100 Subject: [PATCH] Fix return type of Vector.dot Closes #1932 --- .../main/resources/data/computercraft/lua/rom/apis/vector.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/core/src/main/resources/data/computercraft/lua/rom/apis/vector.lua b/projects/core/src/main/resources/data/computercraft/lua/rom/apis/vector.lua index 9501f53c1..d68289418 100644 --- a/projects/core/src/main/resources/data/computercraft/lua/rom/apis/vector.lua +++ b/projects/core/src/main/resources/data/computercraft/lua/rom/apis/vector.lua @@ -114,7 +114,7 @@ local vector = { -- -- @tparam Vector self The first vector to compute the dot product of. -- @tparam Vector o The second vector to compute the dot product of. - -- @treturn Vector The dot product of `self` and `o`. + -- @treturn number The dot product of `self` and `o`. -- @usage v1:dot(v2) dot = function(self, o) if getmetatable(self) ~= vmetatable then expect(1, self, "vector") end