mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Fix mobs debug crash
This commit is contained in:
parent
7c7f4b930c
commit
a2f9ea81cc
1 changed files with 2 additions and 5 deletions
|
@ -955,10 +955,7 @@ minetest.register_chatcommand("mobstats",{
|
|||
minetest.chat_send_player(n,"spawning attempts since server start:"..dbg_spawn_attempts)
|
||||
minetest.chat_send_player(n,"successful spawns since server start:"..dbg_spawn_succ)
|
||||
|
||||
|
||||
--local mob_counts, total_mobs = count_mobs_all("name") -- name
|
||||
local mob_counts, total_mobs = count_mobs_all("type")
|
||||
output_mob_stats(mob_counts, total_mobs)
|
||||
|
||||
local mob_counts_close, mob_counts_wide, total_mobs = count_mobs_all("name") -- Can use "type"
|
||||
output_mob_stats(mob_counts_wide, total_mobs)
|
||||
end
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue