Actor Needs No Class, Yanfly Class Change Not Removing It

Hi. I'm using Yanfly's Class Change thing to set the player's class to one of their choosing at the beginning of the game. However, I'm also having the player get involved in one battle before that happens. So I gave them a "Non-Fighter" class for the battle, but now, the Non-Fighter class shows up as an option in the Class Change window. I tried removing it using the RemoveClass plugin, but it didn't work. Not really sure how to fix this, since it means the player can go around with the Non-Fighter class if they want to (even if it's significantly weaker than the rest of the classes, I'd still prefer for it not to be there).
Change his class via plugin command after the battle and then remove the non-fighter class with another plugin command as well.
In my own project, I also had a class that isn't used beyond the initial few moments of the game.

I used a dialogue between the player character & an NPC to function as character creation suit. During which how the player describes themselves changes the player character's class from the default to one of the entry level classes, & then locks out the initial class.

I would say simply integrate something like a dialogue choice or perhaps a "choose your weapon", something along those lines, that way you remove the undesired class, as well as give the player the ability to define their character from the beginning.
@kovak That's what I attempted to do. I used the RemoveClass plugin command, but it didn't remove the class.

@XIIIthHarbinger That's sort of what I'm trying to do, but I want to use the Class Selection part of the plugin, and I need the first class to get removed so that it doesn't appear in the list of available options.
I know, I am using the same plugin.

Use plugin command "RemoveClass (Actor Number) (Class Number)" in the event after the player character is switched from the initial class to the chosen class. Or create a switch that turns on when the player makes the action, that a common event in the database activates under, that uses plugin command "RemoveClass (Actor Number) (Class Number)".

I use the second because I have multiple actors that serve as the potential player character within the character creation suit, as well as having multiple classes unlocked based on variables tied to character skill usage. So it's simply more efficient to have a "class tree common event" in the database.

However, either one will work. If you're trying the first, & have been having trouble, ensure that the plugin command is in a portion of the event that occurs after the actor has already completed the class change.
But that's not what I want. The class will still appear as an option in the class selection, which is what I'm trying to fix. I need the class removed before the selection begins so that the player can't even select it at all.

Spoiler
I'm gonna tag @Yanfly so he can help me with this
@trevers18 why don't you just have a forced class change as soon as the battle ends to one of the selectable classes, use the plugin command to remove the class you don't want selectable and then show the class selection screen? That should solve your problem.
I can probably do that if there's no way to remove the player's class entirely. It's not precisely what I want to do but it would work. I'd still prefer to find a way to just remove the player's class.

EDIT: I attempted to do that, but the class still wasn't removed from the list. The only thing that happened was that the character got switched to the Warrior class instead of the Non-Fighter class. The Non-Fighter class still showed up on Class Selection. Does the first class always do that?

EDIT 2: Nevermind, it was because it was a default unlocked class. I'd still prefer just removing the player's class entirely, so if anyone figures out that method, lemme know.
If you remove from the default unlocked class then it will not be avaliable to anyone unless to the actor who started in game with the said class.
That's fine, I don't want anyone to have that class anyway. My problem isn't that, though. It's trying to make the player have no assigned class for a small portion of the game so that, when they go to pick a class, they don't start out as one of the options by default.
That's not possible as far as i know though you can hide certain menu options to archieve something similar.

Original thread: https://forums.rpgmakerweb.com/threads/actor-needs-no-class-yanfly-class-change-not-removing-it.80413/