From e865d96f7b21c20a88d3d7befc70f14aedb9a7b2 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Sat, 16 Apr 2022 21:14:43 +0100 Subject: [PATCH] Fix some typos in the colors API Closes #1072 --- src/main/resources/data/computercraft/lua/rom/apis/colors.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/data/computercraft/lua/rom/apis/colors.lua b/src/main/resources/data/computercraft/lua/rom/apis/colors.lua index 7b607757d..a0e7e1629 100644 --- a/src/main/resources/data/computercraft/lua/rom/apis/colors.lua +++ b/src/main/resources/data/computercraft/lua/rom/apis/colors.lua @@ -268,7 +268,7 @@ end --- Combine a three-colour RGB value into one hexadecimal representation. -- -- @tparam number r The red channel, should be between 0 and 1. --- @tparam number g The red channel, should be between 0 and 1. +-- @tparam number g The green channel, should be between 0 and 1. -- @tparam number b The blue channel, should be between 0 and 1. -- @treturn number The combined hexadecimal colour. -- @usage @@ -291,7 +291,7 @@ end -- -- @tparam number rgb The combined hexadecimal colour. -- @treturn number The red channel, will be between 0 and 1. --- @treturn number The red channel, will be between 0 and 1. +-- @treturn number The green channel, will be between 0 and 1. -- @treturn number The blue channel, will be between 0 and 1. -- @usage -- ```lua