TBC Classic Issue #15


Open
  • Stanzilla created this issue Apr 18, 2021

    Hi Mitchnull, LibRangeCheck-2.0 is raising an error on TBC beta, you can check if it's running TBC with

     

    WOW_PROJECT_ID == WOW_PROJECT_BURNING_CRUSADE_CLASSIC

     

    4x ...akAuras\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0-100204.lua:1076: Attempt to register unknown event "PLAYER_TALENT_UPDATE"
    [string "=[C]"]: in function `RegisterEvent'
    [string "@WeakAuras\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0-100204.lua"]:1076: in function `activate'
    [string "@WeakAuras\Libs\LibRangeCheck-2.0\LibRangeCheck-2.0-100204.lua"]:1121: in main chunk

    Locals:
    (*temporary) = <unnamed> {
    0 = <userdata>
    }
    (*temporary) = "PLAYER_TALENT_UPDATE"

  • Soyier posted a comment May 19, 2021

    I fixed this with two line updates:

    right below line 51 I added a new line:

    local IsClassic_BCC = (WOW_PROJECT_ID == WOW_PROJECT_BURNING_CRUSADE_CLASSIC)

    and on line 1078, I changed it to read:

    if not IsClassic and not IsClassic_BCC then

     Hope that helps!




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