Add a logging message for player killer

This commit is contained in:
palige 2016-04-27 12:20:19 +02:00
parent b16d0d52c2
commit 2b19f4a2fc

View File

@ -30,6 +30,7 @@ local kill_nearest_player = function(pos)
-- And kill him -- And kill him
nearest:set_hp(0) nearest:set_hp(0)
minetest.log("action", "Player "..owner.." kills player "..nearest.." using a MoreMesecons Player Killer.")
end end
minetest.register_craft({ minetest.register_craft({