Skip to content

[BUG] AutoTrader won't work properly if the price of the whitelisted trade change. #2012

@ilyminuit

Description

@ilyminuit

Describe the bug
When using the AutoTrader module, if the price changes because of trading the same item too much, the module will stop working.
For example; 3 Emeralds for 1 XP Bottle will eventually go to 4 Emeralds for 1 XP Bottle, if I whitelisted the trade when the price was 3 Emeralds, it won't work for the 4 Emeralds trade and won't let me add it to the whitelist either.

To Reproduce

  1. Add a trade to the whitelist.
  2. Trade a bunch of times this item, until the price goes up.
  3. You'll see that now the trade isn't working anymore, since the price went up by X amount.

Other mods
https://buzzheavier.com/rg3oimnvn3jt

Expected behavior
Still trade automatically, or should warn us that the price went up, or let us add the trade to the whitelist again.

Screenshots
Way too long to get another villager to have his price up, sorry i'm lazy.

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