From 2b2faeca028f46f8dc57ff788b53a3e14001f9d8 Mon Sep 17 00:00:00 2001 From: upsilon Date: Mon, 20 Aug 2018 10:42:11 +0200 Subject: [PATCH] Fix crash when using the playerkiller Fixes #9 --- moremesecons_playerkiller/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moremesecons_playerkiller/init.lua b/moremesecons_playerkiller/init.lua index 04607a4..b47e2db 100644 --- a/moremesecons_playerkiller/init.lua +++ b/moremesecons_playerkiller/init.lua @@ -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({