mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-27 03:37:31 +01:00
Correct undeclared local obj in enderman line 318
This commit is contained in:
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
Block a user