So just completely empties all of the items in your bank?
|
So just completely empties all of the items in your bank?
This should suffice.Code:if (playerCommand.equalsIgnoreCase("emptybank")) { try { for (int i = 0; i < c.bankItems[i]; i++) { c.bankItemsN[i] = -1; c.bankItems[i] = -1; } c.sendMessage("You have cleared your bank."); } catch (Exception e) { e.printStackTrace(); } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |