@Override
	public void execute() {
		MahTreez.status = "Banking";
		System.out.println("Executing banking.");
			if (!Bank.isOpen()) {
				Bank.open();
				Task.sleep(Random.nextInt(300, 700));
//				while ((Inventory.contains(MahTreez.LOG_ID))) {
				while (Inventory.contains(1511))
					Bank.deposit(1511, Amount.ALL);
				while (Inventory.contains(1515))
					Bank.deposit(1515, Amount.ALL);
				while (Inventory.contains(1519))
					Bank.deposit(1519, Amount.ALL);
				while (Inventory.contains(1521))
					Bank.deposit(1521, Amount.ALL);
//				}
				Bank.close();
				
////				Task.sleep(Random.nextInt(1200, 1400));
//				if (Bank.deposit(1515, Amount.ALL));
////				Task.sleep(Random.nextInt(1200, 1400));
//				if (Bank.deposit(1519, Amount.ALL));
////				Task.sleep(Random.nextInt(1200, 1400));
//				if (Bank.deposit(1521, Amount.ALL));
//				Task.sleep(Random.nextInt(300, 700));
//				Bank.close();
			}
		System.out.println("Finished banking.");
	}