From 92e3a6f53787bb0b4c5515994b4226226f1413f6 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Thu, 20 Apr 2023 01:07:39 -0400 Subject: [PATCH] Fix golden pokeball not stacking --- src/modifier.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modifier.ts b/src/modifier.ts index 05e09d2fe..9bcffd29d 100644 --- a/src/modifier.ts +++ b/src/modifier.ts @@ -728,6 +728,10 @@ export class ExtraModifierModifier extends PersistentModifier { super(type); } + match(modifier: Modifier): boolean { + return modifier instanceof ExtraModifierModifier; + } + clone(): ExtraModifierModifier { return new ExtraModifierModifier(this.type); }