[1.1.107] runtime-api.json set_quick_bar_slot incorrect parameter
Posted: Fri Apr 19, 2024 12:37 pm
The description of the filter parameter of set_quick_bar_slot says it can accept nil (and indeed I believe that's how you clear it). However, it's not marked optional and nil isn't in the type union:
Code: Select all
{
"name": "filter",
"order": 1,
"description": "The filter or `nil`.",
"type": {
"complex_type": "union",
"options": [
"string",
"LuaItemPrototype",
"LuaItemStack"
],
"full_format": false
},
"optional": false
}