diff --git a/src/Classes/PartyTab.lua b/src/Classes/PartyTab.lua index 61b01403682..509cb15959f 100644 --- a/src/Classes/PartyTab.lua +++ b/src/Classes/PartyTab.lua @@ -759,9 +759,12 @@ function PartyTabClass:ParseBuffs(list, buf, buffType, label) for line in buf:gmatch("([^\n]*)\n?") do if line:find("=") then -- label is output for this type, as a special case - if line:match("%.") then - local k1, k2, v = line:match("([%w ]-%w+)%.([%w ]-%w+)=(.+)") - label[k1] = {[k2] = tonumber(v)} + local k1, k2, v = line:match("^([%w ]-%w+)%.([%w ]-%w+)=(.+)$") + if k1 then + if type(label[k1]) ~= "table" then + label[k1] = { } + end + label[k1][k2] = tonumber(v) elseif line:match("|") then local k, tags, v = line:match("([%w ]-%w+)|(.+)=(.+)") v = tonumber(v)