mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-22 12:43:42 +01:00
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