gm优化
This commit is contained in:
parent
0a48a58317
commit
19881f2d09
@ -377,6 +377,7 @@ func ReqGmCommand_(player *Player, Command string) error {
|
||||
player.PlayMod.ClearData(player)
|
||||
case "logout":
|
||||
player.PushAndSendClienRes(&msg.ForceKickOut{})
|
||||
player.ClearData()
|
||||
case "resetFriend":
|
||||
FriendMod := player.PlayMod.getFriendMod()
|
||||
FriendMod.FriendList = make(map[int]struct{})
|
||||
|
||||
@ -11,7 +11,7 @@ func TestFixDecorate(t *testing.T) {
|
||||
p.FixDecorate()
|
||||
|
||||
//
|
||||
p.InitPlayer("aaa001")
|
||||
p.InitPlayer("202601K111")
|
||||
p.FixDecorate()
|
||||
|
||||
DecorateMod := p.GetDecorateMod()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user