Skip to content

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

@unwize

Description

@unwize

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions