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 item info in giveitem function #547

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

Sanriku-Gaming
Copy link
Contributor

Description

Pass slot and item info through the giveitem function to maintain consistent item data.

Also changed the order of add/remove items to ensure that the item is removed from the player giving the item before adding it to the player receiving.

Checklist

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

@Sanriku-Gaming
Copy link
Contributor Author

This fixes the following issue reports:
#534
#542

@GhzGarage GhzGarage merged commit b0291d6 into qbcore-framework:main Jul 25, 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