Fix crash when using the playerkiller

Fixes #9
This commit is contained in:
upsilon 2018-08-20 10:42:11 +02:00
rodič 8a56370ce8
revize 2b2faeca02
V databázi nebyl nalezen žádný známý klíč pro tento podpis
ID GPG klíče: A80DAE1F266E1C3C
1 změnil soubory, kde provedl 1 přidání a 1 odebrání

Zobrazit soubor

@ -30,7 +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.")
minetest.log("action", "Player "..owner.." kills player "..nearest:get_player_name().." using a MoreMesecons Player Killer.")
end
minetest.register_craft({