Closed elgbar closed 7 months ago
So I've delved deep into the code of client scripts, and figured out that some actions are very hard to predict by the client.
It seems that when entering the X
amount is not handled by client scripts as far as I am able to figure out.
this is only a very rough estimate
...-X
option
When depositing items via the
Deposit-X
menu option you must enter the amount to deposit in theEnter amount:
input box. When pressing enter to deposit the amount the item in the inventory is not updated instantly, but rather the next tick.Suggested solution
Add a listener for the
Enter amount:
input box and update the size of the item stack last clicked