From 4f27942f81ecb8d008420d53856943654f7deb1f Mon Sep 17 00:00:00 2001 From: cora Date: Thu, 1 Sep 2022 22:12:08 +0200 Subject: [PATCH 1/2] Fix llamas spitting on iron G's --- mods/ENTITIES/mobs_mc/llama.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/llama.lua b/mods/ENTITIES/mobs_mc/llama.lua index 5d3ed77181..f1f757e064 100644 --- a/mods/ENTITIES/mobs_mc/llama.lua +++ b/mods/ENTITIES/mobs_mc/llama.lua @@ -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) From cac64f034d5193d111dfb158b339ce8c00a4b826 Mon Sep 17 00:00:00 2001 From: cora Date: Thu, 1 Sep 2022 22:12:25 +0200 Subject: [PATCH 2/2] Fix Parrots attackig Iron Gs --- mods/ENTITIES/mobs_mc/parrot.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ENTITIES/mobs_mc/parrot.lua b/mods/ENTITIES/mobs_mc/parrot.lua index cc20dadb1c..c2f34c5a63 100644 --- a/mods/ENTITIES/mobs_mc/parrot.lua +++ b/mods/ENTITIES/mobs_mc/parrot.lua @@ -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,