public int doInventory(int invIndex, String Action) throws InterruptedException { Rectangle inventorySpot = Info.getInventoryRectangle(invIndex); int currentMouseX = currentMouseX(); int currentMouseY = currentMouseY(); if (inventorySpot.contains(currentMouseX, currentMouseY)) { mouseClickRight(currentMouseX, currentMouseY); Menu bankBoothMenu = getMenu(Areas.GAME, 2000); //if(bankBoothMenu.getOption(0).toLowerCase().contains("cancel")){log("woot");} // if (bankBoothMenu != null) { int selectindex=-1; for(int i=0; i