mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-15 23:51:05 +01:00
Merge commit '0d5933b95edfd9012593513734bc8df5fd08cbb4' into production
This commit is contained in:
commit
e21976320a
1 changed files with 7 additions and 8 deletions
|
@ -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 a new issue