fixed class played time spamming chat

This commit is contained in:
Tercio Jose
2022-12-08 15:41:24 -03:00
parent 0707c310d9
commit 6609580f09
6 changed files with 410 additions and 394 deletions
+3 -3
View File
@@ -6136,9 +6136,9 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
_instance_backup = {},
}
local exitErrors = __details_backup._exit_error
local addToExitErrors = function(text)
table.insert(exitErrors, 1, text)
table.insert(exitErrors, 1, date() .. "|" .. text)
table.remove(exitErrors, 10)
end
@@ -6150,7 +6150,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
end)
if (not savePlayTimeClass) then
addToExitErrors("Saving Play Time:" .. savePlayTimeError)
addToExitErrors("Saving Play Time: " .. savePlayTimeError)
end
--SAVINGDATA = true