Fix crash when using the playerkiller

Fixes #9
このコミットが含まれているのは:
upsilon 2018-08-20 10:42:11 +02:00
コミット 2b2faeca02
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: A80DAE1F266E1C3C
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -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({