added CleveRoids_LearnedDurations nil check

This commit is contained in:
Brues
2026-08-23 14:33:29 -05:00
parent 004eebc9f7
commit d5cae2136c
+1 -1
View File
@@ -2170,7 +2170,7 @@ function lib:GetDuration(spellID, casterGUID, comboPoints)
end
-- Check caster-specific learned durations
if casterGUID and CleveRoids_LearnedDurations[spellID] then
if casterGUID and CleveRoids_LearnedDurations and CleveRoids_LearnedDurations[spellID] then
local learned = CleveRoids_LearnedDurations[spellID][casterGUID]
if learned and learned > 0 then
if CleveRoids.debug then