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

ViewInventoryAction does not handle stack size of zero after using an item #44

Open
unwize opened this issue Jul 13, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@unwize
Copy link
Owner

unwize commented Jul 13, 2023

If you use an consumable Usable with quantity 1, the quantity is then decremented to zero and the stack is auto-removed by the InventoryController logic. The ViewInventoryAction does not detect this and then tries to view that stack index, thus causing a crash.

@unwize unwize added the bug Something isn't working label Feb 16, 2024
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

No branches or pull requests

1 participant