case TRADE:
getNotedItems();
if(inventory.isEmpty()) {
if (getBank().getWithdrawMode().equals(
Bank.BankMode.WITHDRAW_NOTE)) {
getBank().withdrawAll("Raw beef");
sleep(random(750, 1500));
bank.close();
log("Withdrawing Noted Beef");
sleep(random(750, 1500));
} else {
bank.enableMode(Bank.BankMode.WITHDRAW_NOTE);
log("changing to withdraw note mode");
sleep(random(750, 1500));
}
} else {
bank.depositAll();
}
} else {
bank.depositAll();
}