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

Fixed swapping in same inventory checking total weight. #568

Merged
merged 5 commits into from
Oct 17, 2024

Conversation

adhershmnair
Copy link
Contributor

@adhershmnair adhershmnair commented Aug 30, 2024

Description

Fixed swapping in same inventory checking total weight and showing unwanted warning.
If total weight of player inventory is near to max, then swapping in same inventory was checking Total weight + Swapped Item weight which is already there in Total weight,

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.

@GhzGarage GhzGarage self-assigned this Sep 5, 2024
@GhzGarage GhzGarage added the bug Something isn't working label Sep 5, 2024
@GhzGarage GhzGarage merged commit ee02bf4 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
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants