Skip to content

Commit

Permalink
Nit: Fixing debug error text
Browse files Browse the repository at this point in the history
  • Loading branch information
ynazar1 committed Sep 3, 2024
1 parent 16683a6 commit 8a781a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SmartBuff.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2792,10 +2792,10 @@ end

-- IsFishing(unit)
function SMARTBUFF_IsFishing(unit)
-- spell, rank, displayName, icon, startTime, endTime, isTradeSkill = UnitChannelInfo("unit")
-- name, displayName, textureID, startTimeMs, endTimeMs, isTradeskill, notInterruptible, spellID, isEmpowered, numEmpowerStages = UnitChannelInfo(unitToken)
local spell = UnitChannelInfo(unit);
if (spell ~= nil and SMARTBUFF_FISHING.name ~= nil and spell == SMARTBUFF_FISHING.name) then
SMARTBUFF_AddMsgD("Channeling "..SMARTBUFF_FISHING);
SMARTBUFF_AddMsgD("Channeling "..SMARTBUFF_FISHING.name);
return true;
end
return false;
Expand Down

0 comments on commit 8a781a0

Please sign in to comment.