elseif event == "PLAYER_LOGIN" then
-- TODO do class detection and only create necessary buttons
stancebar:UnregisterAllEvents();
elseif event == "PLAYER_LOGIN" then
-- TODO do class detection and only create necessary buttons
stancebar:UnregisterAllEvents();