- The "Dismiss" option in pet right-click menus is no longer disabled for Warlocks.

This commit is contained in:
Parnic
2013-10-26 16:36:25 +00:00
parent 03eb9ec2a5
commit 3c8bae6b98

View File

@ -649,6 +649,9 @@ local function munge_unit_menu(menu)
local new_data = {}
for _, v in ipairs(data) do
local blacklisted = BLACKLISTED_UNIT_MENU_OPTIONS[v]
if v == "PET_DISMISS" and select(2, UnitClass("player")) == "WARLOCK" then
blacklisted = false
end
if not blacklisted then
new_data[#new_data+1] = v
elseif blacklisted ~= true then