epgp (dkp reloaded)

3,444,032 Downloads Last Updated: Sep 16, 2017 Game Version: 7.3.0

Error in LibGearPoints:GetValue()

#4 By  mednik3

Created Apr 5, 2017 Updated Apr 5, 2017


I wonder why noone reported that --- every login it throws an error.

On lines 732--734 pairs can be called with nil argument. For some reason pairs does not return nil, but rather throws an error. Possible fix:

if (itemBonuses) then
    for _, value in pairs(itemBonuses) do
        extra_gp = extra_gp + (ITEM_BONUS_GP[value] or 0)

To post a comment, please login or register a new account.