From c4ced1fbdfd55fef3fbb997323ffc568866b6a48 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 28 May 2018 15:49:04 +0200 Subject: [PATCH] Fix arrows being punchable to death --- mods/ITEMS/mcl_bows/arrow.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ITEMS/mcl_bows/arrow.lua b/mods/ITEMS/mcl_bows/arrow.lua index 71375263..132918d1 100644 --- a/mods/ITEMS/mcl_bows/arrow.lua +++ b/mods/ITEMS/mcl_bows/arrow.lua @@ -358,6 +358,7 @@ ARROW_ENTITY.on_activate = function(self, staticdata, dtime_s) end end end + self.object:set_armor_groups({ immortal = 1 }) end minetest.register_entity("mcl_bows:arrow_entity", ARROW_ENTITY)