mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Correct undeclared local obj in enderman line 318
This commit is contained in:
parent
fa86a09fd5
commit
1eeb0511de
1 changed files with 6 additions and 5 deletions
|
@ -314,6 +314,7 @@ mobs:register_mob("mobs_mc:enderman", {
|
||||||
end
|
end
|
||||||
-- Check to see if people are near by enough to look at us.
|
-- Check to see if people are near by enough to look at us.
|
||||||
local objs = minetest.get_objects_inside_radius(enderpos, 64)
|
local objs = minetest.get_objects_inside_radius(enderpos, 64)
|
||||||
|
local obj
|
||||||
for n = 1, #objs do
|
for n = 1, #objs do
|
||||||
obj = objs[n]
|
obj = objs[n]
|
||||||
if obj then
|
if obj then
|
||||||
|
|
Loading…
Reference in a new issue