From dbbd4e203be49509748fa76423db05762a1e0722 Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Fri, 18 Jan 2019 18:22:31 +0100 Subject: [PATCH] adjust craftguide API change --- init.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 1dfec68..1796122 100644 --- a/init.lua +++ b/init.lua @@ -38,8 +38,7 @@ local function revealed_show_recipe(recipe, playername) return true end - -function craftguide.progressive_filter_recipes(recipes, player) +craftguide.set_progressive_filter(function(recipes, player) local filtered = {} for i = 1, #recipes do local recipe = recipes[i] @@ -48,4 +47,4 @@ function craftguide.progressive_filter_recipes(recipes, player) end end return filtered -end +end)