diff --git a/sim/warlock/rotation.go b/sim/warlock/rotation.go index 95933e26dc..b30cef6718 100644 --- a/sim/warlock/rotation.go +++ b/sim/warlock/rotation.go @@ -83,7 +83,7 @@ func (warlock *Warlock) setupCooldowns(sim *core.Simulation) { if warlock.Talents.Metamorphosis && spell.ActionID != warlock.Metamorphosis.ActionID { metaCD := warlock.GetMajorCooldown(warlock.Metamorphosis.ActionID) - if !warlock.MetamorphosisAura.IsActive() && metaCD.TimeToNextCast(sim) < spellCD+runTime && + if !warlock.MetamorphosisAura.IsActive() && metaCD != nil && metaCD.TimeToNextCast(sim) < spellCD+runTime && retainUses(timeLeft, spellCD, metaCD.TimeToNextCast(sim)) { return false }