mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-12 16:12:27 +08:00
优化代码
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
func UnmarshalProtoObj(serverProtoObj pb.Message, clientProtoObj pb.Message, data []byte) bool {
|
||||
if config.CONF.Hk4e.ClientProtoProxyEnable {
|
||||
if config.GetConfig().Hk4e.ClientProtoProxyEnable {
|
||||
err := pb.Unmarshal(data, clientProtoObj)
|
||||
if err != nil {
|
||||
logger.Error("parse client proto obj error: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user