This commit is contained in:
hahwu 2026-01-16 11:32:20 +08:00
parent 0a48a58317
commit 19881f2d09
2 changed files with 2 additions and 1 deletions

View File

@ -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{})

View File

@ -11,7 +11,7 @@ func TestFixDecorate(t *testing.T) {
p.FixDecorate()
//
p.InitPlayer("aaa001")
p.InitPlayer("202601K111")
p.FixDecorate()
DecorateMod := p.GetDecorateMod()