Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Bank.deposit* seems to be broken.

The only thing Alpha about me is my bots
Joined
Sep 22, 2014
Messages
618
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.
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())) {
 
Top