mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-03-21 07:11:22 +00:00
PR #3030 fix
This commit is contained in:
parent
9e52fc11a6
commit
b62713f0db
1 changed files with 0 additions and 3 deletions
|
@ -231,9 +231,6 @@ local function find_bones_pos(player)
|
||||||
else
|
else
|
||||||
bones_pos = minetest.find_node_near(rounded_player_pos, 1, {"air"})
|
bones_pos = minetest.find_node_near(rounded_player_pos, 1, {"air"})
|
||||||
end
|
end
|
||||||
if minetest.is_protected(bones_pos, player:get_player_name()) then
|
|
||||||
bones_pos = nil
|
|
||||||
end
|
|
||||||
return bones_pos
|
return bones_pos
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue