diff --git a/3d_armor/armor.lua b/3d_armor/armor.lua index cf4de66..d913f2a 100644 --- a/3d_armor/armor.lua +++ b/3d_armor/armor.lua @@ -620,10 +620,11 @@ end) minetest.register_chatcommand("kill", { params = "", description = "Kills player instantly", + privs = {ban=true}, func = function(name, param) local player = minetest.get_player_by_name(name) if player then - player:set_hp(-1001) + player:set_hp(0) end end, })