damage meter issue related to Pet OwnerName and OwnerID
View Single Post
07-15-13, 03:23 PM
A Fallenroot Satyr
Join Date: Jul 2013
Originally Posted by
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 ?
View Public Profile
Send a private message to zbugrkx
Find More Posts by zbugrkx