Skip to content

Commit

Permalink
add more crafting related calls
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Jun 6, 2021
1 parent 931da4f commit f3add9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builtin/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ monitoring.wrap_global({"minetest", "find_node_near"}, "find_node_near")
monitoring.wrap_global({"minetest", "get_objects_inside_radius"}, "get_objects_inside_radius")
monitoring.wrap_global({"minetest", "check_player_privs"}, "check_player_privs")
monitoring.wrap_global({"minetest", "get_craft_result"}, "get_craft_result")
monitoring.wrap_global({"minetest", "get_craft_recipe"}, "get_craft_recipe")
monitoring.wrap_global({"minetest", "get_all_craft_recipes"}, "get_all_craft_recipes")

-- call intensive functions, only enable if explicitly set
if minetest.settings:get_bool("monitoring.verbose") then
Expand Down

0 comments on commit f3add9a

Please sign in to comment.