0
0
Fork 0

Can't shear lambs

This commit is contained in:
Wuzzy 2018-05-31 03:45:38 +02:00
parent 55beefa6c7
commit 97e550bb9f
1 changed files with 1 additions and 1 deletions

View File

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