diff --git a/worldsrv/player.go b/worldsrv/player.go index 6bb82b6..ac39349 100644 --- a/worldsrv/player.go +++ b/worldsrv/player.go @@ -4948,6 +4948,9 @@ func (this *Player) SCGuide() { func (this *Player) SCSpirit() { cfg := PlatformMgrSingleton.GetConfig(this.Platform).SpiritConfig + if cfg == nil { + return + } pack := &playerproto.SCDataConfig{ Cfg: []*playerproto.Config{ {