Intersects_protection(): Remove from Minetest Game
Add compatibility code with deprecation warning.
This commit is contained in:
parent
496a1a24d2
commit
8f85ca57f3
3 changed files with 8 additions and 41 deletions
|
@ -37,3 +37,10 @@ end
|
|||
|
||||
-- Chests
|
||||
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)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue