bug修复
This commit is contained in:
parent
0340e3dd83
commit
e5a3d04ea2
@ -23,8 +23,7 @@ import (
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
func ReqGmCommand(args []interface{}) error {
|
||||
_, player, buf := ParseArgs(args)
|
||||
func ReqGmCommand(player *Player, buf []byte) error {
|
||||
detail := &msg.ReqGmCommand{}
|
||||
proto.Unmarshal(buf, detail)
|
||||
return ReqGmCommand_(player, detail.Command)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user