mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-02 00:46:57 +00:00
Use ClassicAPI.strsplit for pfUI's strsplit
This commit is contained in:
@@ -1303,7 +1303,7 @@ pfUI:RegisterModule("equipmentmanager", function()
|
||||
local function InForm(value)
|
||||
local formID = GetShapeshiftFormID() or 0
|
||||
if value == "any" then return formID ~= 0 end
|
||||
for _, id in ipairs({ strsplit(",", value) }) do
|
||||
for _, id in ipairs({ strsplit(",", value or "") }) do
|
||||
if tonumber(id) == formID then return true end
|
||||
end
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user