core.lua, after line 1166, add the 3 green lines:
Code:
if unit == "player" then
Castbar:ClearAllPoints()
Castbar:SetPoint("BOTTOM", UIParent, "CENTER", 0, -100)
Castbar:SetWidth(config.width)
Castbar.SafeZone = Castbar:CreateTexture(nil, "BORDER")
core.lua, after line 1174 (line 1177 after the previous addition), add the 5 green lines:
Code:
elseif (uconfig.width or 1) > 0.75 then
if unit == "target" then
Castbar:ClearAllPoints()
Castbar:SetPoint("TOP", UIParent, "CENTER", 0, -112)
Castbar:SetWidth(config.width)
end
Castbar.Text = ns.CreateFontString(Castbar, 16, "LEFT")
Not tested. If it doesn't work, post the actual error message you get from BugSack, or a screenshot if there is no error message but things are not in the right place.