mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-21 07:29:33 +01:00
Remove minetest.env in mcl_mobspawners
This commit is contained in:
parent
42d377047f
commit
1814fe5ea5
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ local function get_mob_textures(mob)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function find_doll(pos)
|
local function find_doll(pos)
|
||||||
for _,obj in ipairs(minetest.env:get_objects_inside_radius(pos, 1)) do
|
for _,obj in ipairs(minetest.get_objects_inside_radius(pos, 1)) do
|
||||||
if not obj:is_player() then
|
if not obj:is_player() then
|
||||||
if obj ~= nil and obj:get_luaentity().name == "mcl_mobspawners:doll" then
|
if obj ~= nil and obj:get_luaentity().name == "mcl_mobspawners:doll" then
|
||||||
return obj
|
return obj
|
||||||
|
|
Loading…
Reference in a new issue