Browse Source

Fix crash when using the playerkiller

Fixes #9
new-wireless
upsilon 1 year ago
parent
commit
2b2faeca02
No known key found for this signature in database GPG Key ID: A80DAE1F266E1C3C
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      moremesecons_playerkiller/init.lua

+ 1
- 1
moremesecons_playerkiller/init.lua View File

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


Loading…
Cancel
Save