mirror of
https://github.com/minetest-mods/MoreMesecons.git
synced 2024-12-29 17:07:35 +01:00
Add a logging message for player killer
This commit is contained in:
parent
b16d0d52c2
commit
2b19f4a2fc
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user