mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 08:19:33 +02:00
chore: fix TS1016* error
[*] A required parameter cannot follow an optional parameter.
This commit is contained in:
parent
42b2f25e54
commit
568959de54
@ -1109,7 +1109,7 @@ export class PokemonIncrementingStatModifier extends PokemonHeldItemModifier {
|
||||
* @param statHolder The {@linkcode Utils.NumberHolder} that holds the stat
|
||||
* @returns `true` if the {@linkcode PokemonBaseStatFlatModifier} should be applied
|
||||
*/
|
||||
override shouldApply(pokemon?: Pokemon, stat?: Stat, statHolder: Utils.NumberHolder): boolean {
|
||||
override shouldApply(pokemon?: Pokemon, stat?: Stat, statHolder?: Utils.NumberHolder): boolean {
|
||||
return super.shouldApply(pokemon, stat, statHolder) && statHolder instanceof Utils.IntegerHolder;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user