fix craftguide API changes

This commit is contained in:
Alexander Weber 2019-09-13 11:38:59 +02:00
parent e30a65c0af
commit 6c1e74962f

View File

@ -38,7 +38,8 @@ local function revealed_show_recipe(recipe, playername)
return true
end
craftguide.set_recipe_filter('reveal', function(recipes, player)
craftguide.remove_recipe_filter("Default progressive filter")
craftguide.add_recipe_filter('reveal', function(recipes, player)
if not recipes then
return
end