- Joined
- Sep 22, 2014
- Messages
- 618
- Thread Author
- #1
Anything to do with depositing stuff to the bank (bank.Deposit, bank.DepositAllExcept) always seems to do nothing and return false.
These two snippets also always return false and dont do anything.
These two snippets also always return false and dont do anything.
Code:
public static boolean storeBank(final String itemName, final int number) {
if (Inventory.containsAnyOf(itemName)) {
return Bank.deposit(itemName, number);
}else{
return true;
}
}
Code:
if (Bank.depositAllExcept(Supply.GOLDSMITH_GAUNTLETS.name(), Supply.FIRE_STAFF.name(), Supply.NATURE_STAFF.name(), Supply.FIRE_RUNE.name(), Supply.NATURE_RUNE.name())) {