Fix crash when using the playerkiller

Fixes #9
This commit is contained in:
upsilon 2018-08-20 10:42:11 +02:00
父節點 8a56370ce8
當前提交 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({