From 635a9c45bdb21b9eecfeda60a4983644f49eea8f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 30 May 2018 16:16:44 +0200 Subject: [PATCH] Enable wolf-on-sheep attack --- mods/ENTITIES/mobs_mc/wolf.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/ENTITIES/mobs_mc/wolf.lua b/mods/ENTITIES/mobs_mc/wolf.lua index 7f22ce907..056f3437b 100644 --- a/mods/ENTITIES/mobs_mc/wolf.lua +++ b/mods/ENTITIES/mobs_mc/wolf.lua @@ -84,6 +84,8 @@ local wolf = { }, jump = true, attacks_monsters = true, + attack_animals = true, + specific_attack = { "player", "mobs_mc:sheep" }, } mobs:register_mob("mobs_mc:wolf", wolf) @@ -133,6 +135,8 @@ dog.owner_loyal = true -- Automatically teleport dog to owner dog.do_custom = mobs_mc.make_owner_teleport_function(12) dog.follow = mobs_mc.follow.dog +dog.attack_animals = nil +dog.specific_attack = nil dog.on_rightclick = function(self, clicker) local item = clicker:get_wielded_item()