1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-25 02:00:21 +01:00

hide spawning mobs message in terminal

This commit is contained in:
TenPlus1 2020-09-04 14:00:53 +01:00
parent 499d43a9aa
commit c6dffd1390

View File

@ -3896,9 +3896,9 @@ function mobs:spawn_specific(name, nodes, neighbors, min_light, max_light, inter
local mob = minetest.add_entity(pos, name) local mob = minetest.add_entity(pos, name)
print("[mobs] Spawned " .. name .. " at " -- print("[mobs] Spawned " .. name .. " at "
.. minetest.pos_to_string(pos) .. " on " -- .. minetest.pos_to_string(pos) .. " on "
.. node.name .. " near " .. neighbors[1]) -- .. node.name .. " near " .. neighbors[1])
if on_spawn then if on_spawn then
on_spawn(mob:get_luaentity(), pos) on_spawn(mob:get_luaentity(), pos)