Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
One more combat check for AutoSafariHat.
  • Loading branch information
Wetxius committed Nov 22, 2013
1 parent d70d907 commit 9743e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShestakUI/Modules/Automation/AutoSafariHat.lua
Expand Up @@ -22,7 +22,7 @@ frame:SetScript("OnEvent", function(self, event)
end end
end end
elseif event == "PET_BATTLE_CLOSE" or (event == "PLAYER_TARGET_CHANGED" and not C_PetBattles.IsInBattle()) then elseif event == "PET_BATTLE_CLOSE" or (event == "PLAYER_TARGET_CHANGED" and not C_PetBattles.IsInBattle()) then
if hat then if hat and not InCombatLockdown() then
EquipItemByName(hat) EquipItemByName(hat)
ShowHelm(show) ShowHelm(show)
hat = nil hat = nil
Expand Down

0 comments on commit 9743e38

Please sign in to comment.