Skip to content

Commit

Permalink
Fixed issue with forbidden plates' (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuJonathan authored Jun 1, 2021
1 parent 7ce9b2a commit 3fb7372
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions HealCommClassic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ end
--]]
function HealCommClassic:createHealBars(unitFrame, textureType)
local displayedUnit = HealCommClassic:GetFrameInfo(unitFrame)
if not unitFrame or not unitFrame:GetName() then return end
if not unitFrame or unitFrame:IsForbidden() or not unitFrame:GetName() then return end

if masterFrameTable[unitFrame:GetName()] then return end

Expand Down Expand Up @@ -107,7 +106,6 @@ function HealCommClassic:UpdateGUIDHeals(GUID)

if partyGUIDs[targetGUID] then
if globalFrameList[partyGUIDs[targetGUID]] then
print('frame updated for party member')
HealCommClassic:UpdateFrameHeals(globalFrameList[partyGUIDs[targetGUID]])
end
end
Expand Down

0 comments on commit 3fb7372

Please sign in to comment.