forked from thunderdog1138/star_wars
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