Resolved Bank.deposit* seems to be broken.

Discussion in 'Client & Site Support' started by Eagles13, Sep 27, 2014.

  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.
    Code (Text):
    1.     public static boolean storeBank(final String itemName, final int number) {
    2.         if (Inventory.containsAnyOf(itemName)) {
    3.             return Bank.deposit(itemName,  number);
    4.         }else{
    5.             return true;
    6.         }
    7.     }
    8.  
    Code (Text):
    1.     if (Bank.depositAllExcept(Supply.GOLDSMITH_GAUNTLETS.name(), Supply.FIRE_STAFF.name(), Supply.NATURE_STAFF.name(), Supply.FIRE_RUNE.name(), Supply.NATURE_RUNE.name())) {
    2.        
     

Share This Page

Loading...