forked from VoxeLibre/VoxeLibre
Merge commit '0d5933b95edfd9012593513734bc8df5fd08cbb4' into production
This commit is contained in:
commit
e21976320a
|
@ -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