MV TSR Equip Slots, Crashes after 4th party member "Equip"

I am using TSR Equip Slots, and I love it so far, it's the exact UI I'm looking for! My one problem is the Equip button seems to break once you go past your 4 active party members? I get this error everytime I try to click anything past equip on the 5th 6th and so on party members, but If I switch them to the 4 active slots I can do it fine:

1680193414678.png


If There's either a fix for this OR If I can disable the Equip menu for inactive party members, that would be great! 😀
*This was fixed on Discord, solution found on the TSR_EquipSlots forum.
or here:

Replace all 5 instances of $gameParty.battleMembers() to $gameParty.members().

only do this if you have MORE than 4 members at all times, otherwise, this fix
is not needed if you have 4 or below.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/tsr-equip-slots-crashes-after-4th-party-member-equip.156266/