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
1 changed files with 1 additions and 0 deletions

View File

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