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: Prevent garages being updated if no garage set #250

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

Qwerty1Verified
Copy link
Contributor

@Qwerty1Verified Qwerty1Verified commented Jun 28, 2024

Describe Pull request
This PR checks whether the contents of the garage table is empty for houses, if so it won't send the event to qb-garages which prevents it from registering or searching the database for a house garage.

Questions (please complete the following information):

  • Have you personally loaded this code into an updated qbcore project and checked all it's functionality? [yes/no] (Be honest)
  • Does your code fit the style guidelines? [yes/no]
  • Does your PR fit the contribution guidelines? [yes/no]

Extra checks to other areas of the code where this event is sent on player load or resource start
@GhzGarage GhzGarage merged commit 897d7e7 into qbcore-framework:main Jul 1, 2024
1 of 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.

2 participants