From 65b6d58580292c0cfb45244e8cf12689539172b1 Mon Sep 17 00:00:00 2001 From: stujones11 Date: Wed, 7 Dec 2016 19:24:00 +0000 Subject: [PATCH] Prevent armor damage when using /killme command --- 3d_armor/armor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3d_armor/armor.lua b/3d_armor/armor.lua index abe60b0..05b8d24 100644 --- a/3d_armor/armor.lua +++ b/3d_armor/armor.lua @@ -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, })