Correct undeclared local obj in enderman line 318
parent
fa86a09fd5
commit
1eeb0511de
|
@ -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 New Issue