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