mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-10 01:40:21 +01:00
tweak spawn log msg
This commit is contained in:
parent
bf79985730
commit
a62bfe3828
4
api.lua
4
api.lua
@ -4094,11 +4094,13 @@ function mobs:spawn_specific(name, nodes, neighbors, min_light, max_light, inter
|
|||||||
|
|
||||||
if mob_log_spawn then
|
if mob_log_spawn then
|
||||||
|
|
||||||
|
local pos_string = pos and minetest.pos_to_string(pos) or ""
|
||||||
|
|
||||||
minetest.log(
|
minetest.log(
|
||||||
"[MOBS] Spawned "
|
"[MOBS] Spawned "
|
||||||
.. (name or "")
|
.. (name or "")
|
||||||
.. " at "
|
.. " at "
|
||||||
.. (pos and minetest.pos_to_string(pos)) or ""
|
.. pos_string
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user