I have if (!getInventory().isFull()) { getGroundItems().closest("Item").interact("Take"); sleep(Calculations.random(2000, 3000)); } if (!getInventory().isFull() && (!getBank().isOpen())) { sleep(Calculations.random(500, 1000)); hopWorlds(); }
else { getGameObjects().closest("Bank Booth").interact("Bank");
}
The problem I have am having is if the item is already picked up before my bot switches to that world, it will sit there waiting until it respawns. Is there a way to make my bot switch worlds if the item is not there when it hops to the world?