1
0
Fork 0

Correct undeclared local obj in enderman line 318

This commit is contained in:
Brandon 2020-07-19 18:32:33 -04:00
parent fa86a09fd5
commit 1eeb0511de
1 changed files with 6 additions and 5 deletions

View File

@ -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