修复编译问题

This commit is contained in:
flswld committed 2023-08-28 15:03:51 +08:00
1 parent d02b90a511
commit 8b4e77d253
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ func NewCmdProtoMap() (r *CmdProtoMap) {
r.cmdNameCmdIdMap = make(map[string]uint16)
r.cmdIdProtoObjCacheMap = make(map[uint16]*sync.Pool)
r.cmdIdProtoObjFastNewMap = make(map[uint16]func() any)
if config.GetConfig().Hk4e.ForwardModeEnable || config.GetConfig().Hk4eRobot.RegisterAllMessage {
if config.GetConfig().Hk4e.ForwardModeEnable || config.GetConfig().Hk4eRobot.RegisterAllProtoMessage {
r.registerAllMessage()
} else {
r.registerMessage()