awad87 1 Share Posted January 20, 2022 i want to withdraw all runes from the bank i try this but didn't work while (Bank.contains(item -> item.getName().endsWith("rune"))) { Bank.withdrawAll(item -> item.getName().endsWith("rune")); sleep(700, 1200); } Link to comment Share on other sites More sharing options...
camelCase 231 Share Posted January 20, 2022 that code works fine without placeholders, add !item.isPlaceholder Link to comment Share on other sites More sharing options...
abuseedom3 4 Share Posted April 3, 2022 Try adding a null check Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.