- Joined
- May 4, 2015
- Messages
- 66
- Thread Author
- #1
I am receiving an error when attempting to open the bank chest for the second time. It seems to work the first time but throws the following error when attempting it again.
The sections in the code above are in three separate methods.
[SDK Debug] Failed to resolve a refactored name for the game class atc
[SDK Debug] Unidentified entity of type atc encountered on rs3 gamepack a956a63506378d2d34a6e2fc1cd22b9d4fd0ebfd.
[SDK Debug] Unidentified entity of type atc encountered on rs3 gamepack a956a63506378d2d34a6e2fc1cd22b9d4fd0ebfd.
Code:
if (!Inventory.contains(UNTANNED_HIDE)) {
withdrawDragonhides();
}
private void withdrawDragonhides() {
System.out.println("Withdrawing untanned hides...");
if (!Bank.isOpen()) {
openBank();
}
if (Bank.getQuantity(PORTABLE_NAME) > 0) {
Bank.withdraw(UNTANNED_HIDE, 28);
while (Bank.isOpen()) {
Bank.close();
}
}
}
private void openBank() { // Loops until the bank is open
System.out.println("Attempting to open bank...");
while (!Bank.isOpen()) {
Bank.open();
}
}
The sections in the code above are in three separate methods.