forked from mtcontrib/3d_armor
Prevent armor damage when using /killme command
This commit is contained in:
parent
98786fd8f7
commit
65b6d58580
@ -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,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user