Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for opening inventories with data #584

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

Mustachedom
Copy link
Contributor

Description

Currently: You can create a stash named anything you want. set it to 5 slots and 2000 max pounds. If you were to adjust this to 10 slots and 1000 pounds it will retain its original set data and not take the new data being sent

This: It moves the data check to the beginning so if its nil then it goes to previous data check. this will allow people to not have to recreate stashes to adjust settings of it. and if its the first time opening that stash with no data being sent then it goes to config values

Checklist

  • [ x] I have personally loaded this code into an updated qbcore project and checked all of its functionality.
  • [x ] My code fits the style guidelines.
  • [ x] My PR fits the contribution guidelines.

@Mycroft-Studios
Copy link

already fixed in #546

@Mustachedom
Copy link
Contributor Author

@Mycroft-Studios you're a G!

Got tired of people telling me my stash script was broken because qb wasn't updating their customizations haha. I'll tell them to update to your branch :)

@GhzGarage GhzGarage merged commit 19197a2 into qbcore-framework:main Oct 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants