tweak spawn log msg

This commit is contained in:
tenplus1 2023-10-22 11:48:21 +01:00
parent bf79985730
commit a62bfe3828
1 changed files with 3 additions and 1 deletions

View File

@ -4094,11 +4094,13 @@ function mobs:spawn_specific(name, nodes, neighbors, min_light, max_light, inter
if mob_log_spawn then
local pos_string = pos and minetest.pos_to_string(pos) or ""
minetest.log(
"[MOBS] Spawned "
.. (name or "")
.. " at "
.. (pos and minetest.pos_to_string(pos)) or ""
.. pos_string
)
end