Prevent armor damage when using /killme command

This commit is contained in:
stujones11 2016-12-07 19:24:00 +00:00
parent 98786fd8f7
commit 65b6d58580
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ minetest.register_chatcommand("killme", {
func = function(name)
local player = minetest.get_player_by_name(name)
if player then
player:set_hp(0)
player:set_hp(-1001)
end
end,
})