
BUG: Vending Machines attempt to trade twice
hedo29 opened this issue ยท 1 comments
Minecraft Version
1.19.3
Forge Version
44.1.0
Lightman's Currency Version
2.0.1.2a
Environment Type
Dedicated Server (Bug/crash happened while connected to a server or while the dedicated server was booting)
Other relevant Mods
No response
Describe the bug
When trading with a Large Vending Machine, trades are executed twice. Attempting to trade with only enough materials/currency for 1 trade results in 1 trade successfully occurring. The issue only occurs if you have enough of the requested items to execute the transaction twice.
The obvious workaround is to throw/deposit extra currency or materials before trading, but this is clearly not the expected behavior for the player.
To Reproduce
- Craft/Place a Large Vending Machine.
- Set up any type of trade.
- Have enough materials in storage inside the machine and in inventory to execute two transactions.
- Execute one transaction.
- The transaction is executed twice.