From b70aeda0b4a27d393f5f14ba51aaabd137483da5 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Sat, 18 May 2024 11:38:02 +0000 Subject: [PATCH] Change print to minetest.log --- mods/ITEMS/mcl_fire/init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_fire/init.lua b/mods/ITEMS/mcl_fire/init.lua index 639668e3d..b96b8847d 100644 --- a/mods/ITEMS/mcl_fire/init.lua +++ b/mods/ITEMS/mcl_fire/init.lua @@ -123,8 +123,7 @@ local function spawn_fire(pos, age) age = math.random(1,5) + adjacent_age end if age <= 1 then - print("new flash point at "..vector.to_string(pos).." age="..tostring(age)) - print(debug.traceback()) + minetest.log("warning","new flash point at "..vector.to_string(pos).." age="..tostring(age)..",backtrace = "..debug.traceback()) end -- Limit fire spread