summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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