mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 22:22:25 +01:00
intersects_protection(): Fix compatibility code
This commit is contained in:
parent
e7be81242b
commit
3d530e0c25
@ -45,5 +45,5 @@ default.register_chest = default.chest.register_chest
|
||||
function default.intersects_protection(minp, maxp, player_name, interval)
|
||||
minetest.log("warning", "default.intersects_protection() is " ..
|
||||
"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
|
||||
|
Loading…
Reference in New Issue
Block a user