Shopkeepers

Shopkeepers

2M Downloads

Infinite books (possibly anything)

blablubbabcDEV opened this issue ยท 11 comments

commented

Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/312

Originally posted by MasterMithrandir (May 1, 2015):

One of my moderators reported a shop was bugged, apparently, the item/s are duplicating when buying them (you can get infinite ammounts independently of stock)I'll be uploading a video later showing the issue, as for now, all I have are these error logs when buying as many books as I want from a shop:http://pastebin.com/keK5eL2rYoutube vid:https://www.youtube.com/watch?v=KoNpLxtd-wo&feature=youtu.be

commented

Originally commented by MasterMithrandir (May 1, 2015):

I can confirm this is happening whith other items as well.

commented

Originally commented by blablubbabc (May 1, 2015):

You have to update your spigot to the latest build.

commented

Originally commented by MasterMithrandir (May 1, 2015):

[at]blablubbabc:
I thought I was already using the latest, time flies, I'll check it out. Currently on: http://i.imgur.com/MS4vKFQ.png

        Edited May 1, 2015
commented

Originally commented by blablubbabc (May 1, 2015):

[at]MasterMithrandir:
The error
Quote:java.lang.NoSuchMethodError: org.bukkit.inventory.meta.ItemMeta.getItemFlags()

indicates that you are using a spigot version which doesn't contain certain features yet (in this case item flags) which shopkeepers is using.
Unfortunly spigot doesn't have versioning like craftbukkit did (development, beta, recommended builds of craftbukkit vs lots of equivalent builds of spigot). So when I find that there is a new feature in spigot which could be used in shopkeepers I start using it without being able to clearly tell which exact version you are required for it to work.

        Edited May 1, 2015
commented

Originally commented by MasterMithrandir (May 1, 2015):

Thank you. This issue is now fixed after updating spigot.
What's whith the weird nether warts btw? xD

commented

Originally commented by blablubbabc (May 1, 2015):

[at]MasterMithrandir:
Quote:What's whith the weird nether warts btw? xD

Hm? If you are refering to something from your video: I wasn't able to look at it because it is private.

commented

Originally commented by MasterMithrandir (May 1, 2015):

When the offer ammount isn't enough, a stack of nether warts appears on the output offer:
http://i.imgur.com/ELynD09.png
I can't retrieve the nether warts though, they seem to be only visual.
Is this a bug? Or an intended feature? ._.

commented

Originally commented by blablubbabc (May 1, 2015):

[at]MasterMithrandir:
I just tried it and this doesn't happen on my test server..

commented

Originally commented by MasterMithrandir (May 1, 2015):

[at]blablubbabc:
I understand, that's good, and lame of me for not updating as fast as you :)
I'm updating to the latest current build.

commented

Originally closed by blablubbabc (May 1, 2015)

commented

Originally commented by MasterMithrandir (May 2, 2015):

[at]blablubbabc:
Seems unofensive...
I've noticed that there is only one player shop that does this.
In the same coordinates, there happens to be another shop. Which fails to load according to console. But that shop doesn't have nether warts inside the configuration section "costs", so I wonder why a stack of nether warts shows up.
As for the second "fantom" shop on same coordinates, it's obvious for it to not be loading, but do you think maybe Shopkeepers would benefit from a feature that prevents two shops from being in the same coordinates?

        Edited May 2, 2015