Hello,
There is a small bug: When withdrawing X, and the 'Enter amount' interface shows up, it types the amount before the interface shows up, so the sequence is:
- right-click item
- withdraw-x
- types 20 (amount) veryy fast
- interface shows up
- stuck on interface..
This only happens using the code: ctx.getBank().withdraw(itemId, am);
The way to reproduce this bug would be to withdraw X an amount which is not already on your preset options, e.g.
if i took out 23 shrimp before, it will say Withdraw-23 shrimp, and to reproduce, you would do withdraw(shrimp, 5) while the 23 is there if that makes sense.