修复编译问题
This commit is contained in:
1 parent
d02b90a511
commit
8b4e77d253
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user