mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-25 18:20:20 +01:00
increase mob area check to 32
This commit is contained in:
parent
62fc9bcb7f
commit
31db77bab3
4
api.lua
4
api.lua
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
-- Mobs Api (22nd October 2016)
|
-- Mobs Api (26th October 2016)
|
||||||
|
|
||||||
mobs = {}
|
mobs = {}
|
||||||
mobs.mod = "redo"
|
mobs.mod = "redo"
|
||||||
@ -2407,7 +2407,7 @@ end -- END mobs:register_mob function
|
|||||||
local count_mobs = function(pos, type)
|
local count_mobs = function(pos, type)
|
||||||
|
|
||||||
local num = 0
|
local num = 0
|
||||||
local objs = minetest.get_objects_inside_radius(pos, 20)
|
local objs = minetest.get_objects_inside_radius(pos, 32)
|
||||||
|
|
||||||
for n = 1, #objs do
|
for n = 1, #objs do
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user