I have a small personal addon that previously worked which hides the MainMenuBar and StanceBar since they cannot be hidden in the default game.
I used this small function
local function HideMMB()
RegisterAttributeDriver(StanceBar, “state-visibility”, “hide”)
RegisterAttributeDriver(MainMenuBar, “state-visibility”, “hide”)
end
Which is called on PLAYER_ENTERING_WORLD, however now since patch I disconnect randomly and get this error:
AddOn ‘MY_ADDON_NAME’ tried to call the protected function ‘SecureStateDriverManager:SetAttribute()’
And then insta kicks me out of the game. Does anyone know how to update this to work in 11.0.5?