Open trade with a villager. Villager show price of trade. Input to trade recieve trade but emeralds and book do not get traded. I receive book, close gui. When i look in inventory book that i bought is gone and emeralds and book still in inventory. One time it took 3 extra emeralds. This was a different trade but same issue with inability to complete transaction. Sorry if screens are in weird order.
[media]Related issues
Attachments
Comments

Duplicate of MC-148454

@[MOD] violine1101 omit my concern about the price issue and only look at the fact that the villager trades with my toon but after closing gui it trade disappears. Reason I say omit price issue is because I tried using the full cost without discount and the same thing happened. Maybe I am wrong but I believe that this issue is still not resolved, your game though.

It's the same issue. The client thinks the price is discounted from 10 (normal price) to 8 (discounted price), while the server thinks the price is discounted from 12 (normal price) to 10 (discounted price). The client actually assumes its price is correct and updates the inventory accordingly, until the server tells the client "no, you actually should have paid two items more" and removes those items from the inventory, or reverts the trade entirely.