Skip to content

Commit

Permalink
deathknights can use offhands
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelmer Jaarsma authored and Rottenbeer committed Sep 19, 2022
1 parent 8246c19 commit c3c5980
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ItemRack/ItemRack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,10 @@ function ItemRack.UpdateClassSpecificStuff()
if class=="SHAMAN" then
ItemRack.CanWearOneHandOffHand = 1
end

if class=="DEATHKNIGHT" then
ItemRack.CanWearOneHandOffHand = 1
end
end

function ItemRack.OnSetBagItem(tooltip, bag, slot)
Expand Down Expand Up @@ -481,8 +485,8 @@ function ItemRack.InitCore()
ItemRackFrame:RegisterEvent("BANKFRAME_CLOSED")
ItemRackFrame:RegisterEvent("BANKFRAME_OPENED")
ItemRackFrame:RegisterEvent("CHARACTER_POINTS_CHANGED")
-- ItemRackFrame:RegisterEvent("PLAYER_TALENT_UPDATE")
-- ItemRackFrame:RegisterEvent("ACTIVE_TALENT_GROUP_CHANGED")
ItemRackFrame:RegisterEvent("PLAYER_TALENT_UPDATE")
ItemRackFrame:RegisterEvent("ACTIVE_TALENT_GROUP_CHANGED")
-- ItemRackFrame:RegisterEvent("PET_BATTLE_OPENING_START")
-- ItemRackFrame:RegisterEvent("PET_BATTLE_CLOSE")
--if not disable_delayed_swaps then
Expand Down

0 comments on commit c3c5980

Please sign in to comment.