Inventory Profiles Next

Inventory Profiles Next

25M Downloads

[Bug] Villager Trading Buys Extras

zachbakerdev opened this issue ยท 2 comments

commented

Have you asked for help on discord?

NO

Minecraft Version/s

1.21.3

Modloader

Fabric

Modloader Version

0.16.9

Operating System

Windows

List of all other installed mods

  • Cloth Config
  • Continuity
  • Entity Model Features
  • Entity Texture Features
  • Fabric API
  • Fabric Language Kotlin
  • Freecam
  • Jade
  • JourneyMap
  • libIPN
  • Litematica
  • Lithium
  • MaLiLib
  • MiniHUD
  • Mod Menu
  • Placeholder API
  • Roughly Enough Items
  • Simple Voice Chat
  • Sodium
  • WorldEdit
  • YetAnotherConfigLibrary
  • Zoomify

Describe the problem

When trading with villagers, if you are buying something with emeralds, and you run out, IPN will continue to buy things other than the item traded until you run out of emeralds. The example I just encountered involved buying bookshelves in bulk, and as long as I had more than 9 emeralds when the trade was cancelled, the trades stopped, but when I got low on emeralds, it bought a bunch of lanterns despite only having the bookshelves marked for local trading.

Steps to reproduce

  1. Get a master librarian with bookshelves and some other trade worth less than 9 emeralds, but only requiring emeralds (such as lanterns)
  2. Mark the bookshelves as a local or global trade
  3. Trade using the button while having 10-17 emeralds in your inventory
  4. You may end up with a ton of extra items.

I have tried to reproduce the problem with only or without "Inventory Profiles Next" and its dependencies installed.

  • I have tested without 'Inventory Profiles Next' and its dependencies
  • I have tested with only 'Inventory Profiles Next' and its dependencies and no other mods
commented

Sorry but discord communication will be a requirement for this one.

commented

What channel should I bring this up in?