use IsContainerItemOpenable and bump minimum ClassicAPI version to 1.2.1

This commit is contained in:
Brues
2026-05-28 14:59:31 -05:00
parent f988dff29f
commit b8da28ebac
2 changed files with 7 additions and 14 deletions
+2 -5
View File
@@ -25,11 +25,8 @@ pfUI.bootup = true
-- ClassicAPI dependency check.
-- pfUI relies pervasively on the modern C_* / SuperWoW / nameplate / focus
-- API surface that ClassicAPI polyfills, so presence is required (not
-- optional). Without it, users would otherwise see a flood of "attempt to
-- index a nil value" errors as each module tries to call C_Container /
-- C_Item / C_UnitAuras / C_NamePlate / FocusUnit / etc.
local PFUI_CLASSIC_API_MIN = 10200 -- v1.2.0 (X*10000 + Y*100 + Z)
-- API surface that ClassicAPI polyfills, so presence is required.
local PFUI_CLASSIC_API_MIN = 10201 -- v1.2.0 (X*10000 + Y*100 + Z)
if not CLASSIC_API_VERSION or CLASSIC_API_VERSION < PFUI_CLASSIC_API_MIN then
pfUI.disabled = true