So I have this in my script:
 
		case 2:
			if (getBank().open()) {
				waitTicks = 0;
				sleep(random(900, 1200));
				log("Bank is open check");
				for (int i = 0; i < 27; i++) {
					if (getInventory().getItemInSlot(i) != null) {
						if (getInventory().getItemInSlot(i).getName().equalsIgnoreCase(item1) && getInventory().getItemInSlot(i).getName().equalsIgnoreCase(item2) && getInventory().getItemInSlot(i).getName().equalsIgnoreCase(tool)) {
							getInventory().interact(i, "Deposit-All");
						}
					}
				}
				//getBank().depositAllExcept(item1, item2, tool);
				sleep(random(800, 1000));
				getBank().withdraw(item2, withdrawAmount);
				sleep(random(800, 1100));
				getBank().close();
				sleep(random(600, 800));
			}
			break;
	 
 
	 
 
	I know case 2 is being called because it opens the bank and withdraws the item, but getBank().depositAll(String); was not working, getBank().depositAllExcept(String); was not working, and when I tried adding log(String);'s to make sure blocks were being reached, nothing happened and it was not showing in the log. The script STILL tries to withdraw the item, and i know the script is getting these changes because i changed the paint and that updated fine. Why is the ONLY thing in this entire snippet that's actually getting called the withdraw items?