forked from VoxeLibre/VoxeLibre
Merge branch 'master' into mineclone5
This commit is contained in:
commit
d3d9351bac
|
@ -158,7 +158,6 @@ local mobs_spawn = minetest.settings:get_bool("mobs_spawn", true) ~= false
|
||||||
-- count how many mobs of one type are inside an area
|
-- count how many mobs of one type are inside an area
|
||||||
|
|
||||||
local count_mobs = function(pos,mobtype)
|
local count_mobs = function(pos,mobtype)
|
||||||
print(mobtype)
|
|
||||||
local num = 0
|
local num = 0
|
||||||
local objs = get_objects_inside_radius(pos, aoc_range)
|
local objs = get_objects_inside_radius(pos, aoc_range)
|
||||||
for n = 1, #objs do
|
for n = 1, #objs do
|
||||||
|
|
Loading…
Reference in New Issue