Check if unit exists before calling UnitIsUnit

This commit is contained in:
Tercio Jose
2019-10-19 21:00:47 -03:00
parent f01394be98
commit 7a301fbca8
2 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -4,8 +4,8 @@
_ = nil
_detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0")
_detalhes.build_counter = 7222
_detalhes.alpha_build_counter = 7222 --if this is higher than the regular counter, use it instead
_detalhes.build_counter = 7223
_detalhes.alpha_build_counter = 7223 --if this is higher than the regular counter, use it instead
_detalhes.game_version = "v8.2.5"
_detalhes.userversion = "v8.2.5." .. _detalhes.build_counter
_detalhes.realversion = 140 --core version, this is used to check API version for scripts and plugins (see alias below)