Skip to content

bot.Inventory.Contains method is not able to validate inventory items #10

Description

@J-markp

bot.Inventory.Contains is not able to retrieve items from the inventory, if you log the result from the contains with any item and quantity that is present in your inventory it is returning false. I'm guessing that the method is also used with KillForItem because that too doesn't stop killing the monster when the bot picks up the item.

You should be able to reproduce with any item and quantity with bot.Log and toString() the boolean returned. This is working fine last week. Confirmed item names with grabber so it shouldn't be incorrect string within the method call.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions