Line edit to Yanfly Item Menu

Yanfly's Item Menu script (here) has separate categories for different types of items, including weapons. In the Weapons menu, it then lists separately all the different types of weapon, as defined in the Terms tab of the database.

The default appears to be 12 slots for different types of weapons. I, however, am only using 7 types. When I scroll through this part of the menu, there are 5 empty slots before I reach the 'All' line. This looks silly (imo) and I would like to be able to go straight from the last actual weapon type to "All"

I cannot find whereabouts in the script these 12 lines are defined. Could someone have a look at it and tell me what the edit it should be to removed these line?

Thank you.
It appears to be pulling them from the Types tab. Any chance you actually have 12 there, with the last 5 of them empty? If so, Change Maximum and set it to 7. If the 5 empty ones are interspersed throughout the others and not at the end, that could require some reorganising of your database.
Changing the maximum fixed it.
So simple - if you know what you're doing, which obviously I didn't.

Thank you for this. Yet again you come to my rescue, for which I am grateful.
It took a bit of looking to figure it out 😉 You're right - it wasn't just out in the open!

Original thread: https://forums.rpgmakerweb.com/threads/line-edit-to-yanfly-item-menu.89543/