Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: Fix some more inventory bugs #329

Merged
merged 1 commit into from
Feb 2, 2025
Merged

fix: Fix some more inventory bugs #329

merged 1 commit into from
Feb 2, 2025

Conversation

meyfa
Copy link
Owner

@meyfa meyfa commented Feb 2, 2025

Standardize usage of count=0 to signify empty inventory slots, with no additional requirement around the item ID in that case. Further, improve encode/decode of slots with this new definition. Finally, fix the slot range used by the player inventory "set slot" callback which prevented properly moving armor items around.

Standardize usage of count=0 to signify empty inventory slots, with no
additional requirement around the item ID in that case. Further, improve
encode/decode of slots with this new definition. Finally, fix the slot range
used by the player inventory "set slot" callback which prevented properly
moving armor items around.
@meyfa meyfa merged commit ca99ad0 into main Feb 2, 2025
3 checks passed
@meyfa meyfa deleted the fix/inventory-count-bugs branch February 2, 2025 22:01
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant