From 57b9c384982b0e15b0ecab758aaeeebd26d9e2f7 Mon Sep 17 00:00:00 2001 From: Andrew Lalis Date: Wed, 21 Dec 2022 14:47:02 +0100 Subject: [PATCH] Fixed parser again. --- src/itemscript.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/itemscript.lua b/src/itemscript.lua index 26d1897..538934e 100644 --- a/src/itemscript.lua +++ b/src/itemscript.lua @@ -77,7 +77,7 @@ local function parseItemFilterExpression(expr) local fuzzy = false local negated = false if prefixIdx ~= nil then - for i = prefixIdx, i <= prefixIdxEnd do + for i = prefixIdx, prefixIdxEnd do if expr[i] == "!" then negated = true elseif expr[i] == "#" then