MZ RPG Maker MZ How to hide item quantities

Hello !

Is there a way to hide item quantities in menu in MZ ?
I use both item and key item for my game, which are two separate catergories. The key item doesn't have quantities so that's perfect, but I didn't find a way to hide the item quantities (the only thing I found during my research was a plugin for MV).
I think you can modify that method (save as .js file and add as a plugin) to always return false

Window_ItemList.prototype.needsNumber = function() {
if (this._category === "keyItem") {
return $dataSystem.optKeyItemsNumber;
} else {
return true;
}
};
Globally for every item?

Make a new plugin file with any name and paste this:

JavaScript:
/*:
 * @target MZ
 */

Window_ItemList.prototype.needsNumber = function() {
    return false;
}
Ok, thanks a lot!!

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mz-how-to-hide-item-quantities.181681/