Skip to content

Commit

Permalink
fix(Equipment): Fix incorrect Item reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilraaz committed Oct 7, 2024
1 parent a0ce7c5 commit 808f9ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HeroLib/Class/Unit/Player/Equipment.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ function Player:GetTrinketData(OnUseExcludes)
local T2Excluded = false
if OnUseExcludes then
for _, Item in pairs(OnUseExcludes) do
if Item and Trinket1:ID() == Item:ID() then
if Item and Trinket1:ID() == Item then
T1Excluded = true
end
if Item and Trinket2:ID() == Item:ID() then
if Item and Trinket2:ID() == Item then
T2Excluded = true
end
end
Expand Down

0 comments on commit 808f9ca

Please sign in to comment.