diff --git a/sim/common/custom_rotation.go b/sim/common/custom_rotation.go index 7ad9d73ffe..3adeeab983 100644 --- a/sim/common/custom_rotation.go +++ b/sim/common/custom_rotation.go @@ -120,6 +120,10 @@ func (cs *CustomSpell) CPM(sim *core.Simulation) float64 { } func (cr *CustomRotation) Cast(sim *core.Simulation) bool { + if cr == nil { + panic("Custom Rotation is empty") + } + spell := cr.ChooseSpell(sim) if spell == nil {