How to disable Dual Wield with a weapon?

For example you have a two handed weapon like the bow. It works well when you equip it on an actor with shield as you can seal that slot. But how do you correctly equip this on a dual wield character? Right now the dual wield character can still equip another weapon even when the bow (a Shield Seal wep) is equipped.
you can do that only with a plugin
 

Original thread: https://forums.rpgmakerweb.com/threads/how-to-disable-dual-wield-with-a-weapon.66702/