Quantcast WoWInterface - View Single Post - damage meter issue related to Pet OwnerName and OwnerID
View Single Post
07-15-13, 03:23 PM   #13
A Fallenroot Satyr
Join Date: Jul 2013
Posts: 25
Originally Posted by semlar View Post
You need to add something like if not guid or guid == '' then return end to the top of the _RelevantPet function to just exit if there's no guid.

The error is being caused by the guid being an empty string which is one of the only things I didn't make an exception for in my example.

Actually, hang on I'll write something better because that will make it lose some of its functionality.
wouldn't it cause the function to not work at all if we completely exit when there is no GUID ?

wouldn't setting something like NONE (as the example above) shown would work better ?
  Reply With Quote