This is not tested and not really a proper fix in my opinion but it might help
In SettingsProfiler.lua Change
Code:
-- Load Hook (Runs on either EVENT_ADD_ON_LOADED or EVENT_PLAYER_ACTIVATED, whichever fires later)
-- This function is responsable for setting up CHAT_SYSTEM to accept messages
local SharedChatSystem_LoadChatFromSettings=SharedChatSystem.LoadChatFromSettings;
function SharedChatSystem:LoadChatFromSettings(...)
SharedChatSystem_LoadChatFromSettings(self,...);
for _,msg in ipairs(MessageBuffer) do CHAT_SYSTEM:AddMessage(msg); end-- Print from Cache
MessageBuffer=nil;-- Wipe Cache
end
end
AddOn.Print=print;
Change To
Code:
-- Load Hook (Runs on either EVENT_ADD_ON_LOADED or EVENT_PLAYER_ACTIVATED, whichever fires later)
-- This function is responsable for setting up CHAT_SYSTEM to accept messages
local SharedChatSystem_LoadChatFromSettings=SharedChatSystem.LoadChatFromSettings;
function SharedChatSystem:LoadChatFromSettings(...)
SharedChatSystem_LoadChatFromSettings(self,...);
if MessageBuffer then
for _,msg in ipairs(MessageBuffer) do CHAT_SYSTEM:AddMessage(msg); end-- Print from Cache
end
MessageBuffer=nil;-- Wipe Cache
end
end
AddOn.Print=print;