Skip to content

Instantly share code, notes, and snippets.

@JeroenMerks
Created June 5, 2011 15:50
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/1009081 to your computer and use it in GitHub Desktop.
Save JeroenMerks/1009081 to your computer and use it in GitHub Desktop.
final int invCount = inventory.getCount();
bank.withdraw(runeEssence, 0);
if (sleepWhile(new Condition()
public boolean isTrue() {
return invCount == inventory.getCount();
}
}, 1875) {
bank.closeBank(); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment