mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 16:41:06 +01:00
Fix mobs colliding with other mobs/players
This commit is contained in:
parent
6bd249547a
commit
6ec66ef6f6
1 changed files with 1 additions and 1 deletions
|
@ -4352,7 +4352,7 @@ local timer = 15 --0
|
||||||
minetest.register_globalstep(function(dtime)
|
minetest.register_globalstep(function(dtime)
|
||||||
timer = timer + dtime
|
timer = timer + dtime
|
||||||
if timer >= 15 then
|
if timer >= 15 then
|
||||||
timer = 15--0
|
timer = 0--15--0
|
||||||
for _,player in ipairs(minetest.get_connected_players()) do
|
for _,player in ipairs(minetest.get_connected_players()) do
|
||||||
for i = 1,math.random(5) do
|
for i = 1,math.random(5) do
|
||||||
local player_pos = player:get_pos()
|
local player_pos = player:get_pos()
|
||||||
|
|
Loading…
Reference in a new issue