mirror of
https://github.com/minetest/minetest_game.git
synced 2025-06-29 21:30:26 +02:00
Intersects_protection(): Remove from Minetest Game
Add compatibility code with deprecation warning.
This commit is contained in:
@ -490,7 +490,7 @@ function default.sapling_on_place(itemstack, placer, pointed_thing,
|
||||
return itemstack
|
||||
end
|
||||
-- Check tree volume for protection
|
||||
if default.intersects_protection(
|
||||
if minetest.intersects_protection(
|
||||
vector.add(pos, minp_relative),
|
||||
vector.add(pos, maxp_relative),
|
||||
player_name,
|
||||
|
Reference in New Issue
Block a user