View Single Post
09-27-18, 01:31 AM   #10
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
Lua Code:
  1. local azeriteItemLocation = C_AzeriteItem.FindActiveAzeriteItem()
  2.         if (not azeriteItemLocation) then
  3.             return
  4.         end

Your code is a little difficult to read so I'm not 100% sure. But your code above would probably simply stop exactly here and dont execute code listed after that. Try to make your code more modular. So that every part is only accessed when it should.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote