1
0
Fork 0

Comment out leftover logging

make-new-music-louder
ancientmarinerdev 2023-03-10 00:08:12 +00:00 committed by Gitea
parent c97fef03b9
commit fc7eb135e6
1 changed files with 3 additions and 3 deletions

View File

@ -568,7 +568,7 @@ minetest.register_chatcommand("clearmobs",{
-- Param 2 resolve -- Param 2 resolve
if unsafe and unsafe ~= "" then if unsafe and unsafe ~= "" then
minetest.log ("unsafe: [" .. unsafe .. "]") --minetest.log ("unsafe: [" .. unsafe .. "]")
if unsafe == "nametagged" then if unsafe == "nametagged" then
nametagged = true nametagged = true
end end
@ -601,7 +601,7 @@ minetest.register_chatcommand("clearmobs",{
end end
elseif mob_name and (o.name == mob_name or string.find(o.name, mob_name)) then elseif mob_name and (o.name == mob_name or string.find(o.name, mob_name)) then
minetest.log("Match - mob_name = ".. tostring(o.name)) --minetest.log("Match - mob_name = ".. tostring(o.name))
mob_match = true mob_match = true
else else
--minetest.log("No match - o.type = ".. tostring(o.type)) --minetest.log("No match - o.type = ".. tostring(o.type))
@ -622,7 +622,7 @@ minetest.register_chatcommand("clearmobs",{
end end
end end
minetest.log("o.nametag: ".. tostring(o.nametag)) --minetest.log("o.nametag: ".. tostring(o.nametag))
if in_range and ( (not o.nametag or o.nametag == "" ) and not o.tamed ) then if in_range and ( (not o.nametag or o.nametag == "" ) and not o.tamed ) then
--minetest.log("No nametag or tamed. Kill it") --minetest.log("No nametag or tamed. Kill it")
o.object:remove() o.object:remove()