YEP BattleEngineCore may invalidate sealed skills and certain resistances

So, I was experimenting with the YEP plugins and having a good amount of fun... but then I noticed something that I think is a bug.

Background for the problem:
 

I had this idea of this character who could fly as one of her powers, and while she was flying she was far less vulnerable to physical attacks but more vulnerable to energy and ranged attacks, and she also could not use one subset of her powers (I basically created 'Abilities' and 'Powers', instead of 'Skills' and 'Magic') while she was up in the air. If she were facing a foe that had ranged/energy attacks, she could 'land' and become 'grounded', making her less susceptible to those attacks but vulnerable to physical attacks.

SO. I of course created the skills with the necessary requirements- using her ability of flight granted her the status 'flying', which also removed any 'grounded' states she may have had before (more on that ahead)- while flying, I sealed away her 'powers' skill to ensure she could only use her 'abilities' (turning her into a support character while in the air, basically). Should she choose to 'land', then she would use the appropriate ability, land, and have the 'flying' state removed from her and the 'grounded' state applied. I set it so the 'flying' state gave her a boost against physical attacks and a weakness against ranged/energy attacks, and I did the opposite with the 'grounded' state.

The problem:

It doesn't work.  The 'flying' state isn't applied to the character at all, nor is the 'grounded' state. No skills are sealed away, either. Furthermore, there is no discernible resistance in defenses against the specified types of attacks. Furthermore, the status effects would not apply to the characters- I could tell by virtue of the icons not appearing next to the character names.

The Debugging:

I turned off all of the plugins with the exception of  YEP_CoreEngine, YEP_BattleEngineCore and YEP_BattleAICore. I tested it again, and the same problems persisted. Further tests confirmed that the problems were not present in YEP_CoreEngine, but were rooted in YEP_BattleEngineCore- this was verified in an instance in which I had both CoreEngine and BattleEngineCore active and an instance in which only BEC was active, to make sure I was as thorough as I could be. 

Interestingly enough, this problem does not exist when applying states such as poisoning to the character- I had Ioanna poison herself quite successfully, with the status appearing and affecting her. Needless to say, when BEC was inactive, all of the states and resistances worked perfectly, so there is something problematic in that particular plugin that needs to be fixed.
If you can upload your project somewhere, I can take a look at it. I've never encountered a problem such as this before.

(PMing me the link is fine if you don't want to share it openly)
Sure thing, Yan, I'll upload it and send the link to you over PM. It'll be a bit... the project folder is rather big... holy. And this is with almost no custom content created.
This problem is solved- there was no problem, I just happen to be an idiot and forgot one tiny line of code. Yeah. Nothing to see here! Sorry Yanfly!

Original thread: https://forums.rpgmakerweb.com/threads/yep-battleenginecore-may-invalidate-sealed-skills-and-certain-resistances.47349/