Added more trinkets to the list of trinkets

This commit is contained in:
Tercio Jose
2022-12-05 13:32:10 -03:00
parent 5d04d6c229
commit fd25f6e753
3 changed files with 24 additions and 3 deletions
+9 -1
View File
@@ -170,7 +170,15 @@ function _detalhes:AbreJanelaInfo (jogador, from_att_change, refresh, ShiftKeyDo
end
end
info:SetPoint("center", _G.UIParent, "center", 0, 0)
local okay = pcall(function()
info:SetPoint("center", _G.UIParent, "center", 0, 0)
end)
if (not okay) then
info:ClearAllPoints()
info:SetPoint("center", _G.UIParent, "center", 0, 0)
end
info:SetUserPlaced(false)
info:SetDontSavePosition(true)
info.bHasInitialized = true