From 7b106ab859808ab7a5f718ddb2bc28cce07c4770 Mon Sep 17 00:00:00 2001
From: TenPlus1 <kinsellaja@yahoo.com>
Date: Thu, 26 May 2016 21:35:09 +0100
Subject: [PATCH] Fix shears glitch

---
 sheep.lua | 4 ++--
 1 file 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
 
-- 
GitLab