Problem with trading
blablubbabcDEV opened this issue ยท 3 comments
Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/437
Originally posted by ToXiCHaZe541 (Sep 24, 2016):
What steps will reproduce the problem?
1.I can't exactly tell you because you would need a specific item
2.
3.What is the expected output? What do you see instead?I am expecting to see the item successfully trade. At the moment it pops up in the
menu and will not let me click on it to put it into my inventory.What version of the product are you using?I am using version 1.77Do you have an error log of what happened?I turned debug on and got these in console when the player tried to trade.https://gyazo.com/96a22be012fd77e845bd51b94a89b581Please provide any additional information below.Before you go telling me the data on the item may not match up and that may be the cause of my issue I tested some things. First of all the item I set for the trading price is the same exact item I am using to make the trade with. They came from the same source. I have it set up where when breaking a specific block it drops a custom drop using the plugin "Craft Book". What I did to make sure they were the same items is I mined to collect the special items and took them without modifying them and put them into the shop keeper but it still will not trade.
Originally commented by blablubbabc (Sep 24, 2016):
The issue could be caused by a lot of things..
From looking at the debug output, when shopkeepers asks the server what item there is in the result slot of the trading window, the server reports that there is no item in the result slot. But as you can see the item in your minecraft client, my current guess would be that maybe some of your plugins is indeed secretly/hidden modifying those items (for example adding an unique id to every item in your inventory), and by that causing the trade to fail on the server, but hiding those modifications from the minecraft client, so your client still thinks that the trade could succeed, even though the server doesn't actually allow the trade.
A plugin which I know was, and might still be, doing that is Denizen. But it could be any of your other plugins as well.. So your only chance really is to try to track down the plugin which is causing this. You could start by quickly setting up a local testing server and only run CraftBook and Shopkeepers there. If it works there, then some other plugin on your server is causing this.