This commit is contained in:
NoM0Re
2025-05-31 22:54:39 +02:00
committed by GitHub
parent 9def6a5ab8
commit bda851552d
58 changed files with 2518 additions and 1671 deletions
+3 -3
View File
@@ -326,7 +326,7 @@ local sorters = {
end,
custom = function(data)
local sortStr = data.customSort or ""
local sortFunc = WeakAuras.LoadFunction("return " .. sortStr) or noop
local sortFunc = WeakAuras.LoadFunction("return " .. sortStr, data.id) or noop
local sortOn = nil
local events = WeakAuras.split(data.sortOn or "")
if #events > 0 then
@@ -415,7 +415,7 @@ local anchorers = {
end,
["CUSTOM"] = function(data)
local anchorStr = data.customAnchorPerUnit or ""
local anchorFunc = WeakAuras.LoadFunction("return " .. anchorStr) or noop
local anchorFunc = WeakAuras.LoadFunction("return " .. anchorStr, data.id) or noop
local anchorOn = nil
local events = WeakAuras.split(data.anchorOn or "")
@@ -971,7 +971,7 @@ local growers = {
end,
CUSTOM = function(data)
local growStr = data.customGrow or ""
local growFunc = WeakAuras.LoadFunction("return " .. growStr) or noop
local growFunc = WeakAuras.LoadFunction("return " .. growStr, data.id) or noop
local growOn = nil
local events = WeakAuras.split(data.growOn or "")
if #events > 0 then