Merge pull request 'Fix Parrots and Llamas attacking iron golems' (#2616) from fix_parrot_llama_golem_attacks into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2616
Reviewed-by: PrairieWind <prairie.astronomer1@gmail.com>
This commit is contained in:
cora 2022-09-09 20:26:39 +00:00
commit 6262bda3f2
2 changed files with 2 additions and 5 deletions

View File

@ -231,10 +231,6 @@ mcl_mobs:register_arrow("mobs_mc:llamaspit", {
end,
hit_mob = function(self, mob)
mob:punch(self.object, 1.0, {
full_punch_interval = 1.0,
damage_groups = {fleshy = 1},
}, nil)
end,
hit_node = function(self, pos, node)

View File

@ -127,8 +127,9 @@ end
mcl_mobs:register_mob("mobs_mc:parrot", {
description = S("Parrot"),
type = "passive",
type = "animal",
spawn_class = "passive",
passive = true,
pathfinding = 1,
hp_min = 6,
hp_max = 6,