소둠땅 업데이트후 초콜릿바 오류가 많이 나서 찾아보니 해결하신분이 있네요.

https://www.curseforge.com/wow/addons/chocolatebar 에서 퍼 왔습니다.

이렇게 수정하니 저는 잘 됩니다. 


열기 Bar.lua
On Line 8 Replace

local pairs, ipairs, table, math, mod = pairs, ipairs, table, math, mod

 With

local _G, pairs, ipairs, table, math, mod = _G, pairs, ipairs, table, math, mod

 

On Line 30 replace

local frame = CreateFrame("Frame", name, UIParent, "BackdropTemplate")

 With

local frame = CreateFrame("Frame",name, _G.UIParent, BackdropTemplateMixin and "BackdropTemplate")

 저장 및 닫기

 

열기 Chocolate.lua

On line 1 Replace

local ChocolateBar = LibStub("AceAddon-3.0"):GetAddon("ChocolateBar")

 With

local ChocolateBar = LibStub("AceAddon-3.0"):GetAddon("ChocolateBar")

 

On Line 373 Replace

local chocolate = CreateFrame("Button", "Chocolate" .. name)

 With

local chocolate = CreateFrame("Button", "Chocolate" .. name, _G.UIParent, BackdropTemplateMixin and "BackdropTemplate")

 저장 및 닫기

 

열기 DropPoints.lua

After Line 3 which reads

local dopPoints

추가

local _G = _G

 

On Line 8 Replace

local dropFrames = CreateFrame("Frame", nil, _G.UIParent)

 With

local dropFrames = CreateFrame("Frame", nil, _G.UIParent, BackdropTemplateMixin and "BackdropTemplate")

 

On Line 22 Replace

local frame = CreateFrame("Frame", name, ChocolateBar.dropFrames)

 With

local frame = CreateFrame("Frame", name, ChocolateBar.dropFrames, BackdropTemplateMixin and "BackdropTemplate")

저장 및 닫기

 

열기 Options.lua

On Line 1 Replace

local LibStub = LibStub

 With

local LibStub = LibStub

 

On Line 916 Replace

moveBarDummy = _G.CreateFrame("Frame",bar)

 With

moveBarDummy = _G.CreateFrame("Frame",bar, _G.UIParent, BackdropTemplateMixin and "BackdropTemplate")

저장 및 닫기

 

열기 modules/CB_Lauchers.lua

On Line 86 Replace

local frame = CreateFrame("Frame", "CB_LaunchersFrame", _G.UIParent)

 With

local frame = CreateFrame("Frame", "CB_LaunchersFrame", _G.UIParent, BackdropTemplateMixin and "BackdropTemplate")

저장 및 닫기