Remove x1 from Item in menus

I would like to remove the "x1" for an item if I only have 1 of them. However, I do want x2, x3, etc. to appear for items I have more than one of.

It is probably a simple If-Else condition script, but I do not know where to apply it..

Ex:

Potion __________________

Super Potion __________ x2

OneItem ________________

Three Items ___________x3

Thanks!
This should work:

Code:
class Window_ItemList < Window_Selectable  alias :hudell_draw_item_number :draw_item_number  def draw_item_number(rect, item)   hudell_draw_item_number(rect, item) if $game_party.item_number(item) > 1  endend
 

 
Perfect, thank you! 😀
This should work:

class Window_ItemList < Window_Selectable  alias :hudell_draw_item_number :draw_item_number  def draw_item_number(rect, item)  hudell_draw_item_number(rect, item) if $game_party.item_number(item) > 1  endend
Can I use it in a potential commercial project giving you credit?
Can I use it in a potential commercial project giving you credit?
Yes. You're free to use it however you want.

Original thread: https://forums.rpgmakerweb.com/threads/remove-x1-from-item-in-menus.35586/