summaryrefslogtreecommitdiff
path: root/sheep.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-05-26 21:35:09 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-05-26 21:35:09 +0100
commit7b106ab859808ab7a5f718ddb2bc28cce07c4770 (patch)
tree734e1dc1c75fdf3aee92e0be59ac9c0fd09417b1 /sheep.lua
parentf885d07e76fa24f252348654ada4b7969cb8986e (diff)
Fix shears glitch
Diffstat (limited to 'sheep.lua')
-rw-r--r--sheep.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/sheep.lua b/sheep.lua
index cd2fe8d..209d074 100644
--- a/sheep.lua
+++ b/sheep.lua
@@ -90,8 +90,8 @@ for _, col in pairs(all_colours) do
if itemname == "mobs:shears" then
if self.gotten ~= false
- and self.child ~= false
- and not minetest.get_modpath("wool") then
+ or self.child ~= false
+ or not minetest.get_modpath("wool") then
return
end