mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +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
|
||||
-- Check to see if people are near by enough to look at us.
|
||||
local objs = minetest.get_objects_inside_radius(enderpos, 64)
|
||||
local obj
|
||||
for n = 1, #objs do
|
||||
obj = objs[n]
|
||||
if obj then
|
||||
|
|
Loading…
Reference in a new issue