From 4359743b7b53e0fe6264414a0f3f328ecf24042d Mon Sep 17 00:00:00 2001 From: xinian Date: Wed, 11 Feb 2026 01:13:34 +0800 Subject: [PATCH] 1 --- modules/player/model/pet.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/player/model/pet.go b/modules/player/model/pet.go index 2a971a567..b06806f83 100644 --- a/modules/player/model/pet.go +++ b/modules/player/model/pet.go @@ -216,7 +216,7 @@ func (pet *PetInfo) RandShiny() { co := service.NewShinyService().RandShiny(pet.ID) if co != nil { - pet.ShinyInfo = append(pet.ShinyInfo, *&co.Color) + pet.ShinyInfo = append(pet.ShinyInfo, co.Color) } //o.ShinyInfo[0].ColorMatrixFilter = GenerateRandomOffspringMatrix().Get() //g.Dump(ttt.ShinyInfo) @@ -226,7 +226,7 @@ func (pet *PetInfo) FixShiny() { co := service.NewShinyService().FixShiny(pet.ID) if co != nil { - pet.ShinyInfo = append(pet.ShinyInfo, *&co.Color) + pet.ShinyInfo = append(pet.ShinyInfo, co.Color) } //o.ShinyInfo[0].ColorMatrixFilter = GenerateRandomOffspringMatrix().Get() //g.Dump(ttt.ShinyInfo)