Pixelmon Sidemod API - Feature tracker

[9.0.4] isShiny bug new

Ticket description:
Code: Select allpublic boolean isShiny() {
        return this.isPalette("shiny");
    }


checking isShiny is not working for some pokemon (for example Vivillon, Flabébé, Floette and Florges) because their shiny versions dont include palette called shiny

Comments

#27228 Posted by VanironCZ » 31 Jul 2022 11:13

Still present in 9.0.6.

Possible fix working for me:
Code: Select allpublic boolean isShiny() {
        return this.getPalette().getName().contains("shiny");
    }

Ticket details

  • Ticket ID: 18432
  • Project: Pixelmon Sidemod API
  • Status: New
  • Component: (unknown)
  • Project version: (unknown)
  • Priority: Normal
  • Assigned to: (unassigned)
  • Reported by: VanironCZ (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 02 Jul 2022 06:00
  • Ticket last visited by: Envyful on 11 Jan 2023 10:39
JOIN THE TEAM