mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-27 13:01:06 +01:00
Merge branch 'master' into mineclone5
This commit is contained in:
commit
d3d9351bac
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