I need to Override an inherited method for a class, but I am worried my plugin will unnecessarily conflict with any other plugin that also Overrides that method. Ideally, I would like to allow my plugin to add its functionality on top of any other plugin that has overridden this method (via an alias or similar), and to also work perfectly if no other plugin overrides this method.
Specifically, I am trying to override the isEnabled method of Window_BattleItem. Window_BattleItem has no isEnabled method, but it inherits from Window_ItemList, which does have an isEnabled method. I need to introduce additional checks before confirming that an Item indeed is enabled on the Battle Items window, but I don't want any additional checks on the other windows that inherit Window_ItemList.
Is there any safe, relatively expedient way to do this?
Specifically, I am trying to override the isEnabled method of Window_BattleItem. Window_BattleItem has no isEnabled method, but it inherits from Window_ItemList, which does have an isEnabled method. I need to introduce additional checks before confirming that an Item indeed is enabled on the Battle Items window, but I don't want any additional checks on the other windows that inherit Window_ItemList.
Is there any safe, relatively expedient way to do this?