Error on trying to calculate sell value of depleted keystone #50


Closed
  • Lejums created this issue Apr 1, 2017

    GetItemInfo(item) returns nil for depleted keystones (at least for Keystone: Return to Karazhan: Lower). Change line 95 SellJunk.lua:

     

    currPrice = select(11, GetItemInfo(item)) * select(2, GetContainerItemInfo(bag, slot))

    to

    currPrice = (select(11, GetItemInfo(item)) or 0) * select(2, GetContainerItemInfo(bag, slot))
  • Forge_User_70948567 posted a comment Apr 3, 2017

    Thank you! Updated in 3.0.15.


    Edited Apr 3, 2017
  • Forge_User_70948567 closed issue Apr 3, 2017

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