MV [HELP]Mog_ ChronoEngine error in "W" Window (Skill Menu)

Hey guys! Thank you so much for helping.
I have this problem in the Mog_ChronoEngine plugin for some time.
Pressing the "Q" and "W" buttons opens a window that chooses the Item or Skill that equips the Character.
But when I press "W", the cost of the skills appears all messed up.
When checking the plugin, I noticed that the parts that draw the amount of Items and the skill cost are the same.

index.php
Perhaps this is the error.
Can anyone take a look at this part of the plugin and see if this is true?
Can you fix it?

Plugin:


Part where you draw the Items window:
Spoiler
//==============================
// * draw Item Number
//==============================
Window_ToolList.prototype.drawItemNumber = function(item, x, y, width) {
if (item.tool.itemCost) {
var itemCost = $dataItems[item.tool.itemCost];
if (itemCost) {
this.drawText(':', x, y, width - this.textWidth('00'), 'right');
this.drawText($gameParty.numItems(itemCost), x, y, width, 'right');
};
} else if (item.tool.mpCost > 0) {
this.drawText(TextManager.mpA + ' ' + item.tool.mpCost, x, y, width, 'right');
} else if (item.tool.tpCost > 0) {
this.drawText(TextManager.tpA + ' ' + item.tool.tpCost, x, y, width, 'right');
};
};

Part where you draw the Skills window:
Spoiler
//==============================
// * draw Item Number
//==============================
Window_ToolSkill.prototype.drawItemNumber = function(item, x, y, width) {
if (item.tool.itemCost) {
var itemCost = $dataItems[item.tool.itemCost];
if (itemCost) {
this.drawText(':', x, y, width - this.textWidth('00'), 'right');
this.drawText($gameParty.numItems(itemCost), x, y, width, 'right');
};
} else if (item.tool.mpCost > 0) {
this.drawText(TextManager.mpA + ' ' + item.tool.mpCost, x, y, width, 'right');
} else if (item.tool.tpCost > 0) {
this.drawText(TextManager.tpA + ' ' + item.tool.tpCost, x, y, width, 'right');
};
};

Original thread: https://forums.rpgmakerweb.com/threads/help-mog_-chronoengine-error-in-w-window-skill-menu.139716/