Server side, don't worry about it.
|
close please.
Server side, don't worry about it.
Just add a "shift()" method right before the method(s) that updates your bank account. For example:
Please note that the code above is merely an example. Just apply the concept to your own code.Code:public void withdraw(Item item, int slot) { try { //Withdraw logic here... } finally { shift(); doBankUpdate(); } }
Isn't it just like "c.getItems().rearrangeBank();"
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |