Attempt fixing stack overflow
This commit is contained in:
1 parent
76ceed52a3
commit
c49bac094f
2 files changed
+1
-4
No files matched your search
@@ -616,9 +616,6 @@ export function applyPostWeatherLapseAbAttrs(attrType: { new(...args: any[]): Po
|
||||
if (!pokemon.canApplyAbility())
|
||||
return;
|
||||
|
||||
if (weather.isEffectSuppressed(pokemon.scene))
|
||||
return;
|
||||
|
||||
const ability = pokemon.getAbility();
|
||||
|
||||
const attrs = ability.getAttrs(attrType) as PostWeatherLapseAbAttr[];
|
||||
|
||||
Reference in new issue
Block a user