DBM - Deadly Boss Mods (DBM-Core)

DBM - Deadly Boss Mods (DBM-Core)

522M Downloads

[classic] bad argument #1 to 'mrandom' (interval is empty)

blotter opened this issue ยท 4 comments

commented

after fresh install of 1.13.46-classic

Message: Interface\AddOns\DBM-Core\DBM-Core.lua:4444: bad argument #1 to 'mrandom' (interval is empty)
Time: Wed May 27 19:53:21 2020
Count: 1
Stack: Interface\AddOns\DBM-Core\DBM-Core.lua:4444: bad argument #1 to 'mrandom' (interval is empty)
[C]: ?
[C]: ?
Interface\AddOns\DBM-Core\DBM-Core.lua:4444: in function <Interface\AddOns\DBM-Core\DBM-Core.lua:4432>
(tail call): ?
Interface\AddOns\DBM-Core\DBM-Core.lua:4976: in function `handler'
Interface\AddOns\DBM-Core\DBM-Core.lua:843: in function <Interface\AddOns\DBM-Core\DBM-Core.lua:830>

Locals:

commented

oh, are you guildless in classic? that code missed a very important check

commented

no, i'm not guildless

commented

That's very odd then. how many guildies were online?

commented

Either way, i added redundant extra checks, whatever caused error, it should be fixed.