mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 21:40:49 +00:00
libdebuff: fix invalid capture index on ruRU client
This commit is contained in:
@@ -16,6 +16,11 @@ if pfUI.client > 11200 then return end
|
|||||||
-- return instantly when another libdebuff is already active
|
-- return instantly when another libdebuff is already active
|
||||||
if pfUI.api.libdebuff then return end
|
if pfUI.api.libdebuff then return end
|
||||||
|
|
||||||
|
-- fix a typo (missing $) in ruRU capture index
|
||||||
|
if GetLocale() == "ruRU" then
|
||||||
|
SPELLREFLECTSELFOTHER = gsub(SPELLREFLECTSELFOTHER, "%%2s", "%%2%$s")
|
||||||
|
end
|
||||||
|
|
||||||
local libdebuff = CreateFrame("Frame", "pfdebuffsScanner", UIParent)
|
local libdebuff = CreateFrame("Frame", "pfdebuffsScanner", UIParent)
|
||||||
local scanner = libtipscan:GetScanner("libdebuff")
|
local scanner = libtipscan:GetScanner("libdebuff")
|
||||||
local _, class = UnitClass("player")
|
local _, class = UnitClass("player")
|
||||||
|
|||||||
Reference in New Issue
Block a user