1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2025-01-14 03:50:28 +01:00

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

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,
})