Skip to content

Commit

Permalink
Fix error for not assistable friendly unit in combat
Browse files Browse the repository at this point in the history
  • Loading branch information
InfusOnWoW authored and Stanzilla committed Dec 18, 2023
1 parent b739038 commit 3cff967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LibRangeCheck-3.0/LibRangeCheck-3.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ License: MIT
-- @class file
-- @name LibRangeCheck-3.0
local MAJOR_VERSION = "LibRangeCheck-3.0"
local MINOR_VERSION = 8
local MINOR_VERSION = 9

---@class lib
local lib, oldminor = LibStub:NewLibrary(MAJOR_VERSION, MINOR_VERSION)
Expand Down Expand Up @@ -795,7 +795,7 @@ local function getRange(unit, noItems)
return getRangeWithCheckerList(unit, noItems and lib.friendNoItemsRC or lib.friendRC)
end
else
return getRangeWithCheckerList(unit, InCombatLockdownRestriction(unit) and lib.miscRC or lib.miscRCInCombat)
return getRangeWithCheckerList(unit, InCombatLockdownRestriction(unit) and lib.miscRCInCombat or lib.miscRC)
end
end

Expand Down

0 comments on commit 3cff967

Please sign in to comment.