Update API
This commit is contained in:
parent
3e5b7cbb55
commit
89c2249bcb
2
API.md
2
API.md
@ -180,7 +180,7 @@ end)
|
||||
|
||||
Removes all recipe filters and adds a new one.
|
||||
|
||||
#### `i3.remove_recipe_filter(name)`
|
||||
#### `i3.delete_recipe_filter(name)`
|
||||
|
||||
Removes the recipe filter with the given `name`.
|
||||
|
||||
|
2
init.lua
2
init.lua
@ -589,7 +589,7 @@ function i3.set_recipe_filter(name, f)
|
||||
recipe_filters = {[name] = f}
|
||||
end
|
||||
|
||||
function i3.remove_recipe_filter(name)
|
||||
function i3.delete_recipe_filter(name)
|
||||
recipe_filters[name] = nil
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user