From 1a4e2c4697fc2c872aa19f431d6bf34295e37675 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Thu, 15 May 2025 23:56:47 +0200 Subject: [PATCH] Invert condition for fuzzy match --- recipe.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe.lua b/recipe.lua index b3123b6..2139414 100644 --- a/recipe.lua +++ b/recipe.lua @@ -47,7 +47,7 @@ function prototype:beginCrafting(chests) for _,output in pairs(self.outputs) do local stackdata = itemstack.fromSlot(output.machine, output.slot) - if util.fuzzyEquals(stackdata.item, output.item) or output.count > stackdata.count then + if (not util.fuzzyEquals(stackdata.item, output.item)) or output.count > stackdata.count then return false end end