From bae9cb12e2b19d5e0a331f015b60c81a337098ad Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Fri, 30 May 2025 07:45:47 +0100 Subject: [PATCH] add missing log level (thx Niklp) --- api.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api.lua b/api.lua index 6c84e75..150d322 100644 --- a/api.lua +++ b/api.lua @@ -18,7 +18,7 @@ end -- global table mobs = { - mod = "redo", version = "20250526", + mod = "redo", version = "20250530", spawning_mobs = {}, translate = S, node_snow = has(core.registered_aliases["mapgen_snow"]) or has("mcl_core:snow") or has("default:snow") or "air", @@ -3693,7 +3693,8 @@ function mobs:spawn_specific(name, nodes, neighbors, min_light, max_light, inter local pos_string = pos and core.pos_to_string(pos) or "" - core.log("[MOBS] Spawned " .. (name or "") .. " at " .. pos_string) + core.log("action", "[MOBS] Spawned " .. (name or "") + .. " at " .. pos_string) end if on_spawn and mob then on_spawn(mob:get_luaentity(), pos) end