Skip to content

Commit c2e0256

Browse files
committed
Fix color return type
1 parent 85b0b21 commit c2e0256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

druid/color.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ local COLOR_Z = hash("color.z")
1717
---Get color by ID from palette, hex string, or return vector as-is.
1818
---If color_id is not found in palette and not a hex string, returns white.
1919
---@param color_id string|vector4|vector3 Color id from palette, hex color string, or vector
20-
---@return vector4|vector3
20+
---@return vector4
2121
function M.get_color(color_id)
2222
if type(color_id) ~= "string" then
2323
return color_id

0 commit comments

Comments
 (0)