From 706a23238caa82427448754d89cf2b8c8350e03d Mon Sep 17 00:00:00 2001 From: damocleas Date: Sat, 25 Jan 2025 17:29:09 -0500 Subject: [PATCH] Revert "[Bug] Fix miniblackhole (#5169)" (#5183) This reverts commit 9c29cdc63dd2e5a5d680c20ee069e3bd0463046a. --- src/modifier/modifier.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modifier/modifier.ts b/src/modifier/modifier.ts index c51fa129efe..37f88deea7f 100644 --- a/src/modifier/modifier.ts +++ b/src/modifier/modifier.ts @@ -3183,12 +3183,12 @@ export abstract class HeldItemTransferModifier extends PokemonHeldItemModifier { break; } } - const randItemIndex = pokemon.randSeedInt(tierItemModifiers.length); - const randItem = tierItemModifiers[randItemIndex]; + const randItemIndex = pokemon.randSeedInt(itemModifiers.length); + const randItem = itemModifiers[randItemIndex]; heldItemTransferPromises.push(globalScene.tryTransferHeldItemModifier(randItem, pokemon, false).then(success => { if (success) { transferredModifierTypes.push(randItem.type); - tierItemModifiers.splice(randItemIndex, 1); + itemModifiers.splice(randItemIndex, 1); } })); }