Skip to content
Permalink
Browse files

One more combat check for AutoSafariHat.

  • Loading branch information...
Wetxius committed Nov 22, 2013
1 parent d70d907 commit 9743e38b838f5d9ca9fae9c0cb6d911f3bdda865
Showing with 1 addition and 1 deletion.
  1. +1 −1 ShestakUI/Modules/Automation/AutoSafariHat.lua
@@ -22,7 +22,7 @@ frame:SetScript("OnEvent", function(self, event)
end
end
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)
ShowHelm(show)
hat = nil

0 comments on commit 9743e38

Please sign in to comment.
You can’t perform that action at this time.