mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 05:00:02 +00:00
GUID replacements
* Replace all `local _, guid = UnitExists(unit)` with `GetUnitGUID(unit)` (Nampower 3.0.0+) * Bump minimum required Nampower version to 3.0.0
This commit is contained in:
@@ -266,7 +266,7 @@ pfUI:RegisterModule("superwow", "vanilla", function ()
|
||||
if event == "PLAYER_ENTERING_WORLD" then
|
||||
-- Cache player GUID
|
||||
if UnitExists then
|
||||
local _, guid = UnitExists("player")
|
||||
local guid = GetUnitGUID("player")
|
||||
playerGuid = guid
|
||||
end
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user