Skip to content

Commit

Permalink
patch: Open stash if not opened when moving from stash -> invo
Browse files Browse the repository at this point in the history
  • Loading branch information
theBGuy committed Jan 26, 2025
1 parent aedd0d7 commit db1a452
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions d2bs/kolbot/libs/core/Storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,9 @@

// Make sure stash is open
if (this.location === sdk.storage.Stash && !Town.openStash()) return false;
if (this.location === sdk.storage.Inventory && item.location === sdk.storage.Stash && !Town.openStash()) {
return false;
}

const [orgX, orgY, orgLoc] = [item.x, item.y, item.location];
const moveItem = (x, y, location) => {
Expand Down

0 comments on commit db1a452

Please sign in to comment.