Fix crash when using the playerkiller

Fixes #9
This commit is contained in:
upsilon 2018-08-20 10:42:11 +02:00
부모 8a56370ce8
커밋 2b2faeca02
No known key found for this signature in database
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({