Skip to content
Permalink
Browse files

Reverted some bad changes.

  • Loading branch information...
Wetxius committed Nov 7, 2013
1 parent 8186b83 commit 9b087a9117064b724eca452a6dd8dd9d0b0e29d5
Showing with 2 additions and 2 deletions.
  1. +1 −1 ShestakUI/Modules/Announcements/BadGear.lua
  2. +1 −1 ShestakUI/Modules/Announcements/Drinking.lua
@@ -7,7 +7,7 @@ if C.announcements.bad_gear ~= true then return end
local frame = CreateFrame("Frame")
frame:RegisterEvent("ZONE_CHANGED_NEW_AREA")
frame:SetScript("OnEvent", function()
if not IsInInstance() then return end
if event ~= "ZONE_CHANGED_NEW_AREA" or not IsInInstance() then return end
local item = {}
for i = 1, 17 do
if T.AnnounceBadGear[i] ~= nil then
@@ -7,7 +7,7 @@ if C.announcements.drinking ~= true then return end
local frame = CreateFrame("Frame")
frame:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
frame:SetScript("OnEvent", function(...)
if GetZonePVPInfo() ~= "arena" then return end
if not (event == "UNIT_SPELLCAST_SUCCEEDED" and GetZonePVPInfo() == "arena") then return end

local unit, _, _, _, spellID = ...
if UnitIsEnemy("player", unit) and (spellID == 118358 or spellID == 104270) then

0 comments on commit 9b087a9

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