DBM - Deadly Boss Mods (DBM-Core)

DBM - Deadly Boss Mods (DBM-Core)

522M Downloads

Bug with Brew.lua

Torsin opened this issue ยท 0 comments

commented

Describe the bug
Not for an error to occur. The C_Calendar.GetDate has been changed to C_DateAndTime.GetCurrentCalendarTime with the WoW SL 9.0.1 prepatch.

Do you have an error log of what happened?

Message: ..\AddOns\DBM-WorldEvents\Holidays\Brew.lua line 20:
   attempt to call field 'GetDate' (a nil value)
Debug:
   [string "@DBM-WorldEvents\Holidays\Brew.lua"]:20: CheckEventActive()
   [string "@DBM-WorldEvents\Holidays\Brew.lua"]:32: in main chunk
   [string "=[C]"]: ?
   [string "=[C]"]: LoadAddOn()
   [string "@DBM-Core\DBM-Core.lua"]:4246: LoadMod()
   [string "@DBM-Core\DBM-Core.lua"]:4193: LoadModsOnDemand()
   [string "@DBM-Core\DBM-Core.lua"]:4145: func()
   [string "@DBM-Core\DBM-Core.lua"]:1835:
      DBM-Core\DBM-Core.lua:1826
Locals:
(*temporary) = nil
(*temporary) = "attempt to call field 'GetDate' (a nil value)"
setActive = false

To Reproduce

  1. Load into the game or refresh the ui

Did you try having DeadlyBossMods as the only enabled addon and everything else (especially something like ElvUI) disabled?
No, not relevant

Which version of DeadlyBossMods are you using?
9.0.1-2-g6c2397f

Was it working in a previous version? If yes, which was the last good one?
Prior to the pre-patch, just a removed/changed function on the blizz side that is being called.

Additional context