Fix arrows being punchable to death

This commit is contained in:
Wuzzy 2018-05-28 15:49:04 +02:00
parent 187e6b7e58
commit c4ced1fbdf

@ -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)