Sheep now accept any shears
This commit is contained in:
parent
7124b516cc
commit
47f711a41c
@ -95,7 +95,7 @@ mobs:register_mob(
|
|||||||
|
|
||||||
-- Are we giving a haircut?
|
-- Are we giving a haircut?
|
||||||
|
|
||||||
if itemname == "default:shears" then
|
if minetest.get_item_group(itemname, "shears") > 0 then
|
||||||
if self.gotten == false and self.child == false then
|
if self.gotten == false and self.child == false then
|
||||||
self.gotten = true -- shaved
|
self.gotten = true -- shaved
|
||||||
local pos = self.object:get_pos()
|
local pos = self.object:get_pos()
|
||||||
|
Loading…
Reference in New Issue
Block a user