From 21bddb7539d74c994494dd84b4b44a270fb8ddaf Mon Sep 17 00:00:00 2001 From: vaisest <4550061+vaisest@users.noreply.github.com> Date: Fri, 12 Jun 2026 20:13:58 +0300 Subject: [PATCH] Fix desecrate-only mods becoming monk glove mods --- src/Classes/Item.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Classes/Item.lua b/src/Classes/Item.lua index a8a437b50..b35624f87 100644 --- a/src/Classes/Item.lua +++ b/src/Classes/Item.lua @@ -442,6 +442,10 @@ function ItemClass:ParseRaw(raw, rarity, highQuality) self.pendingAffixList = { } local backupAffixList = { } for modId, modData in pairs(self.affixes) do + -- these can produce false positives, and only ever exist on the monk glove base + if modId:match("^HandWraps") and not self.name:match("Fists of Stone") then + goto modContinue + end if modData.affix == modName then if self:GetModSpawnWeight(modData) > 0 then if modData.type == "Prefix" then @@ -458,6 +462,7 @@ function ItemClass:ParseRaw(raw, rarity, highQuality) end end end + ::modContinue:: end if #self.pendingAffixList == 0 and #backupAffixList > 0 then self.pendingAffixList = backupAffixList