Skip to content
Snippets Groups Projects
Commit 3d530e0c authored by luk3yx's avatar luk3yx Committed by SmallJoker
Browse files

intersects_protection(): Fix compatibility code

parent e7be8124
No related branches found
No related tags found
No related merge requests found
...@@ -45,5 +45,5 @@ default.register_chest = default.chest.register_chest ...@@ -45,5 +45,5 @@ default.register_chest = default.chest.register_chest
function default.intersects_protection(minp, maxp, player_name, interval) function default.intersects_protection(minp, maxp, player_name, interval)
minetest.log("warning", "default.intersects_protection() is " .. minetest.log("warning", "default.intersects_protection() is " ..
"deprecated, use minetest.is_area_protected() instead.") "deprecated, use minetest.is_area_protected() instead.")
minetest.is_area_protected(minp, maxp, player_name, interval) return minetest.is_area_protected(minp, maxp, player_name, interval)
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment