mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-14 17:20:50 +00:00
superwow: only remove existing entries on fail
This commit is contained in:
@@ -38,6 +38,7 @@ pfUI:RegisterModule("superwow", "vanilla", function ()
|
|||||||
local guid = arg1
|
local guid = arg1
|
||||||
|
|
||||||
-- delete all cast entries of guid
|
-- delete all cast entries of guid
|
||||||
|
if libcast.db[guid] then
|
||||||
libcast.db[guid].cast = nil
|
libcast.db[guid].cast = nil
|
||||||
libcast.db[guid].rank = nil
|
libcast.db[guid].rank = nil
|
||||||
libcast.db[guid].start = nil
|
libcast.db[guid].start = nil
|
||||||
@@ -45,5 +46,6 @@ pfUI:RegisterModule("superwow", "vanilla", function ()
|
|||||||
libcast.db[guid].icon = nil
|
libcast.db[guid].icon = nil
|
||||||
libcast.db[guid].channel = nil
|
libcast.db[guid].channel = nil
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
Reference in New Issue
Block a user