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

Common - Fix CBA_fnc_canAddItem when item mass is 0 #1673

Merged
merged 1 commit into from
Jul 28, 2024
Merged

Conversation

PabstMirror
Copy link
Contributor

for massless items, func would return true
e.g.

player addBackpack "B_Respawn_Sleeping_bag_brown_F";
[player, "ACE_dogtag_1", 1, false, false, true] call CBA_fnc_canAddItem

or trying to add to static-weapons

@PabstMirror PabstMirror merged commit 6b21914 into master Jul 28, 2024
4 checks passed
@PabstMirror PabstMirror deleted the canAddx branch July 28, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants