From 159e69094f7c93deccecd82798bf78b90ddb2a43 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Fri, 16 Aug 2024 15:08:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=B2=BE=E7=81=B5=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/player.go | 3 +++ 1 file changed, 3 insertions(+) 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{ {