Yanfly Subclass Plugin: Hide Primary/Subclass

I can mark classes as <Primary Only> or <Subclass Only> but all of the classes still show up in both the primary and subclass menus. For example, if I set Hero as Subclass Only, it still appears as a disabled option in the Class menu.

I'd like to have the class menu show only primary classes, and the subclass menu show only subclasses. I've looked all over in both the class change core and subclass extension plugins but I can't find a parameter that handles this. Am I missing something, or is this something I should attempt to modify myself?
Something similar here, I would like to remove one single class from the class menu list.
The actor has this primary class, and I can make it disabled so he has it unlocked but can't change it; however I don't know how to hide it from the list completely so that the list only shows Subclasses.

I think maybe something has to be changed here (Yanfly Class Change Core script line 1081):

Window_ClassList.prototype.makeItemList = function() {
if (this._actor) {
var data = this._actor.unlockedClasses().slice();
} else {
var data = [];
}
this._data = [];
for (var i = 0; i < data.length; ++i) {
var classId = data;
if ($dataClasses[classId] && !this._data.contains(classId)) {
this._data.push(classId);
}
}
this._data.sort(function(a, b) { return a - b });
};



So I ned something like "if classId=1, then don't show it in the list"...
How can I do that?
Bump, need the same, please!

@Pozinhofan, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


Please make a new thread with your problem.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-subclass-plugin-hide-primary-subclass.82386/