WoWInterface - View Single Post - Error when using GetMapInfo
View Single Post
08-25-18, 03:01 PM   #4
A Pyroguard Emberseer
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,059
You call MapUtil.GetMapParentInfo twice in your code; once in the first block, after checking that currentMapId is not nil, and again later on without checking it.

We don't have your whole code so don't have the line numbers, but it's fully possible that the first block is executing correctly, followed by the second block throwing the error.
  Reply With Quote