Closed Vyrgax closed 4 years ago
I'm using 1.14.4 (paper), and the latest snapshot (Shop-by-Conjurate-2.1.5-SNAPSHOT build 10)
I've now pushed a commit that should address this. I apologise for the oversight on my behalf when I changed the selling logic.
The sell function in the shop ignores data such as name, lore, and custommodeldata, and subtracts the amount of sold items of from other similar items as well:
Let's say you want to sell 3
Iron Ingot
s with the nameApple
. You also have 6Iron Ingot
s with the nameBanana
, as well as 9Iron Ingot
s with the namePear
.If you'd sell 3 of the "Apple" iron ingots, the shop takes 3 of the apples, 3 of the bananas, and 3 of the pears as well. You'd then have 0 apples, 3 bananas, and 6 pears.
This basically renders the plugin broken.