1
0
Fork 0

Fix mobs colliding with other mobs/players

formspec-v4
jordan4ibanez 2021-04-07 23:16:03 -04:00 committed by kay27
parent d65a5e3be0
commit 38dcbcb3d4
1 changed files with 1 additions and 1 deletions

View File

@ -4359,7 +4359,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()