From 97e550bb9fc56649bc6b91f41dc4a4182003f77e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 31 May 2018 03:45:38 +0200 Subject: [PATCH] Can't shear lambs --- mods/ENTITIES/mobs_mc/sheep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mobs_mc/sheep.lua b/mods/ENTITIES/mobs_mc/sheep.lua index b7857f82da..96734fd524 100644 --- a/mods/ENTITIES/mobs_mc/sheep.lua +++ b/mods/ENTITIES/mobs_mc/sheep.lua @@ -154,7 +154,7 @@ mobs:register_mob("mobs_mc:sheep", { if mobs:feed_tame(self, clicker, 1, true, true) then return end if mobs:protect(self, clicker) then return end - if item:get_name() == mobs_mc.items.shears and not self.gotten then + if item:get_name() == mobs_mc.items.shears and not self.gotten and not self.child then self.gotten = true local pos = self.object:getpos() minetest.sound_play("shears", {pos = pos})