diff --git a/projects/core/src/main/resources/data/computercraft/lua/rom/apis/settings.lua b/projects/core/src/main/resources/data/computercraft/lua/rom/apis/settings.lua index 6f1d1a3ab..edb92f8d9 100644 --- a/projects/core/src/main/resources/data/computercraft/lua/rom/apis/settings.lua +++ b/projects/core/src/main/resources/data/computercraft/lua/rom/apis/settings.lua @@ -61,7 +61,7 @@ for _, v in ipairs(valid_types) do valid_types[v] = true end -- - `default`: A default value, which is returned by [`settings.get`] if the -- setting has not been changed. -- - `type`: Require values to be of this type. [Setting][`set`] the value to another type --- will error. +-- will error. Must be one of: `"number"`, `"string"`, `"boolean"`, or `"table"`. -- @since 1.87.0 function define(name, options) expect(1, name, "string")