remove manual abm tracing from at_night abm
This commit is contained in:
parent
bf06492ce0
commit
fb26a79e9f
@ -45,7 +45,6 @@ function mobf_spawn_at_night(mob_name,mob_transform,spawning_data,environment)
|
||||
interval = 20,
|
||||
chance = math.floor(1/spawning_data.rate),
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
local starttime = mobf_get_time_ms()
|
||||
local gametime = minetest.get_timeofday()
|
||||
|
||||
if gametime > 0.25 and
|
||||
@ -109,7 +108,6 @@ function mobf_spawn_at_night(mob_name,mob_transform,spawning_data,environment)
|
||||
end
|
||||
end
|
||||
mobf_warn_long_fct(starttime,"mobf_spawn_at_night")
|
||||
mobf_warn_long_fct(starttime,"at_night_abm","abm")
|
||||
end,
|
||||
})
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user