From 89c2249bcba1145725042f80fc3f51c6ef14e4a2 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Fri, 29 Jan 2021 02:56:28 +0100 Subject: [PATCH] Update API --- API.md | 2 +- init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/API.md b/API.md index 82c17ff..90547af 100644 --- a/API.md +++ b/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`. diff --git a/init.lua b/init.lua index 36e8a7c..7e886fc 100644 --- a/init.lua +++ b/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