if (!getInventory().contains("Small fishing net")) {
if (banker != null && banker.exists) {
if (banker.isVisible()) {
banker.interact("Bank");
new ConditionalSleep(5000) { // ConditionalSleep will sleep for 5 seconds or until the bank is open
public boolean condition() {
return getBank().isOpen(); }
}.sleep();
bank.withdraw(1, "Small fishing net");
new ConditionalSleep(5000) {
public boolean condition() {
return getInventory().contains("Small fishing net"); }
}.sleep()
} else {
getWalking().walk(bank_location);
}
there might be a few missing brackets }, but u can just add those in