From ac48209796b992a9f26f36f6f2c2ab4d7e31af37 Mon Sep 17 00:00:00 2001 From: muscode Date: Sun, 3 Nov 2024 12:06:56 -0600 Subject: [PATCH] Update src/data/ability.ts Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com> --- src/data/ability.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index a82083bbe76..1b2effe001b 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -4909,7 +4909,7 @@ export function applyPostFaintAbAttrs(attrType: Constructor, } export function applyPostItemLostAbAttrs(attrType: Constructor, - pokemon: Pokemon, passive: boolean, simulated: boolean = false, args: any[]): Promise { + pokemon: Pokemon, passive: boolean, simulated: boolean = false, ...args: any[]): Promise { return applyAbAttrsInternal(attrType, pokemon, (attr, passive) => attr.applyPostItemLost(pokemon, passive, simulated, args), args); }