Fixing last commit stuff
This commit is contained in:
+5
-5
@@ -788,6 +788,11 @@ Details222.Parser.EventFrame:RegisterEvent("PLAYER_REGEN_DISABLED")
|
||||
Details222.Parser.EventFrame:SetScript("OnEvent", function(self, event, ...)
|
||||
local instanceName, isntanceType = GetInstanceInfo()
|
||||
|
||||
if (isntanceType == "pvp" or isntanceType == "arena") then
|
||||
Details222.parser_frame:SetScript("OnEvent", Details222.Parser.OnParserEventPVP)
|
||||
return
|
||||
end
|
||||
|
||||
if (isntanceType ~= "none") then
|
||||
if (Details222.parser_frame:GetScript("OnEvent") ~= Details222.Parser.OnParserEvent) then
|
||||
Details222.parser_frame:SetScript("OnEvent", Details222.Parser.OnParserEvent)
|
||||
@@ -795,11 +800,6 @@ Details222.Parser.EventFrame:SetScript("OnEvent", function(self, event, ...)
|
||||
return
|
||||
end
|
||||
|
||||
if (isntanceType == "pvp" or isntanceType == "arena") then
|
||||
Details222.parser_frame:SetScript("OnEvent", Details222.Parser.OnParserEventPVP)
|
||||
return
|
||||
end
|
||||
|
||||
if (event == "PLAYER_ENTERING_WORLD" or event == "ZONE_CHANGED_NEW_AREA") then
|
||||
if (bConsiderGroupMembers) then
|
||||
--check if any group member is in combat
|
||||
|
||||
Reference in New Issue
Block a user