Same Item in Inventory [SOLVED]

I created an item called "Potions" in the database, Potions could be stacked up to x99, and when I got 119 Potions. I realized that in my inventory I couldn't keep the same item. which should:
Potion x99
Potions x20

instead be:
Potion x99
Can someone solve this problem?

Note: This problem only occurs with Items. Weapons and Armor can be stored in large quantities.
What script are you using to split the items? This is not done by default.
What script are you using to split the items? This is not done by default.
I used Yanfly Adjust Limit to set the max value of potion is 99.
set the max value
Setting the max value to 99 is not necessary, unless you need the other features of that script.
You do not need the script if that's all you need it for.
There is other code in your game that is causing the split.
If you start a new project, you will see that the default behavior is your desired goal.
So you must have something that is causing the item to split.
Setting the max value to 99 is not necessary, unless you need the other features of that script.
You do not need the script if that's all you need it for.
There is other code in your game that is causing the split.
If you start a new project, you will see that the default behavior is your desired goal.
So you must have something that is causing the item to split.
I want to make it possible to store items above 99. But what I need is not Potions x120, but Potions x99 and Potions x21
Then you could try this
https://forums.rpgmakerweb.com/index.php?threads/more-of-the-same-item-stacks.107406/
It's work!
Thanks for your help!
This thread is SOLVED!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/same-item-in-inventory-solved.113458/