Skip to content

[Redstone] ITEM_USE only works when item is in bag-0-slot-0 #1400

@chrisfarms

Description

@chrisfarms

due to a misused variable here: https://github.com/playmint/ds/blob/main/contracts/src/rules/InventoryRule.sol#L89

ITEM_USE can only be called for an item that is in bag-0-slot-0 or bag-1-slot-1 or bag-2-slot-2 🤦

Screenshot 2024-05-11 at 14 35 01

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions