MV MV - Unco Ammunition battle window & Olivia Weapon Swap

I'm using Unco's Ammo System alongside Olivia's Weapon Swap. I'd like to make the in-battle ammunition window refresh when the player swaps weapons (this is done using the left and right buttons when "Attack" is selected, per the options I've enabled through Olivia's plugin).

I am still new at java, so my guess is that this would be accomplished by calling
Code:
this.showAmmoWindow();
based on what I see in Unco's plugin. Since Olivia's code is obfuscated, however, I'm not sure how to proceed. Would it be possible to just make it so any left/right button press will call the ammo window? That wouldn't clash with any other windows that display during battles in my project. Or is there a better way to accomplish this?

Original thread: https://forums.rpgmakerweb.com/threads/mv-unco-ammunition-battle-window-olivia-weapon-swap.152046/