Skip to content

Instantly share code, notes, and snippets.

@JeroenMerks
Created June 5, 2011 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeroenMerks/1009069 to your computer and use it in GitHub Desktop.
Save JeroenMerks/1009069 to your computer and use it in GitHub Desktop.
final int invCount = inventory.getCount();
if (bank.withdraw(runeEssence, 0)) {
sleepWhile(new Condition() {
public boolean isTrue() {
return invCount == inventory.getCount();
}
}, 1875);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment