Skip to content

Commit

Permalink
Merge pull request #609 from See1Duck/development
Browse files Browse the repository at this point in the history
Mahogany Homes Bug Fix
  • Loading branch information
chsami authored Jan 8, 2025
2 parents 883fc8f + 4c00f99 commit 0b9ad36
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,10 @@ && isMissingItems()) {
if (Rs2Bank.walkToBankAndUseBank(Rs2Bank.getNearestBank(currentHome.getLocation()))) {
sleep(600, 1200);
if(plugin.getConfig().usePlankSack()){
if(Rs2Inventory.isFull() && !Rs2Inventory.contains(ItemID.STEEL_BAR))
if(Rs2Inventory.isFull() && !Rs2Inventory.contains(ItemID.STEEL_BAR)) {
Rs2Bank.depositAll(plugin.getConfig().currentTier().getPlankSelection().getPlankId());
sleep(600, 1200);
}
Rs2Bank.withdrawX(ItemID.STEEL_BAR, 4-steelBarsInInventory());
sleep(600, 1200);

Expand Down

0 comments on commit 0b9ad36

Please sign in to comment.