错误初始化服装修复增加日志

This commit is contained in:
hahwu 2026-04-13 18:20:31 +08:00
parent 06dd437e3d
commit 0c01365f45

View File

@ -10,6 +10,8 @@ import (
GoUtil "server/game_util" GoUtil "server/game_util"
"server/msg" "server/msg"
"sort" "sort"
"gitea.bywaystudios.com/pet_home/leaf/log"
) )
type PlayroomMod struct { type PlayroomMod struct {
@ -305,6 +307,7 @@ func (p *PlayroomMod) version(registerTime int64) {
} }
// 修复错误被初始化的服装 // 修复错误被初始化的服装
if v.Label == "" && GoUtil.InArray(v.Id, []int{51, 52, 53, 54, 55}) { if v.Label == "" && GoUtil.InArray(v.Id, []int{51, 52, 53, 54, 55}) {
log.Debug("version fix dress id %d", v.Id)
delete(p.NewDress, k) delete(p.NewDress, k)
} }
} }