From 3c8bae6b984e700d81dcd9e6682aafb6de2e1333 Mon Sep 17 00:00:00 2001 From: Parnic Date: Sat, 26 Oct 2013 16:36:25 +0000 Subject: [PATCH] - The "Dismiss" option in pet right-click menus is no longer disabled for Warlocks. --- IceHUD.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IceHUD.lua b/IceHUD.lua index 52d25aa..0df271b 100644 --- a/IceHUD.lua +++ b/IceHUD.lua @@ -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