0
0
Fork 0

Comment out leftover logging

This commit is contained in:
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
if unsafe and unsafe ~= "" then
minetest.log ("unsafe: [" .. unsafe .. "]")
--minetest.log ("unsafe: [" .. unsafe .. "]")
if unsafe == "nametagged" then
nametagged = true
end
@ -601,7 +601,7 @@ minetest.register_chatcommand("clearmobs",{
end
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
else
--minetest.log("No match - o.type = ".. tostring(o.type))
@ -622,7 +622,7 @@ minetest.register_chatcommand("clearmobs",{
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
--minetest.log("No nametag or tamed. Kill it")
o.object:remove()