1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-21 18:07:46 +08:00
parent 9011bdbb8a
commit 31331cccb5
2 changed files with 7 additions and 1 deletions

View File

@@ -218,7 +218,10 @@ func (pet *PetInfo) Cure() {
func (pet *PetInfo) FixShiny() {
co := service.NewShinyService().RandShiny(pet.ID)
pet.ShinyInfo = append(pet.ShinyInfo, *co)
if co != nil {
pet.ShinyInfo = append(pet.ShinyInfo, *co)
}
}
// 比重融合