mirror of
https://github.com/minetest-mods/MoreMesecons.git
synced 2024-08-20 05:04:09 +02: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
|
-- 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({
|
||||||
|
Loading…
Reference in New Issue
Block a user