1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-29 21:30:26 +02:00

Rename intersects_protection to is_area_protected

This commit is contained in:
SmallJoker
2018-02-25 12:30:36 +01:00
committed by paramat
parent 70d91bc64d
commit 04a46d0671
2 changed files with 3 additions and 3 deletions

View File

@ -41,6 +41,6 @@ default.register_chest = default.chest.register_chest
-- Check for a volume intersecting protection
function default.intersects_protection(minp, maxp, player_name, interval)
minetest.log("warning", "default.intersects_protection() is " ..
"deprecated, use minetest.intersects_protection() instead.")
minetest.intersects_protection(minp, maxp, player_name, interval)
"deprecated, use minetest.is_area_protected() instead.")
minetest.is_area_protected(minp, maxp, player_name, interval)
end