Shopkeepers

Shopkeepers

2M Downloads

Renting payment issue

melinstagibson opened this issue ยท 3 comments

commented

I have a server where people can rent a certain amount of shopkeepers in a marketplace.

The problem is that if someone reached his shopkeeper limit as assigned via permissions the rentable shopkeepers will still take the payment and then tell the user he cant buy more but the payment will still be lost.

commented

Was able to reproduce: This occurs if the player has more items than would be required: The stack of items gets reduced then. Caused by this line of code: https://github.com/Shopkeepers/Shopkeepers/blob/master/src/main/java/com/nisovin/shopkeepers/shoptypes/PlayerShopkeeper.java#L295

I will fix this in the next update.

commented

sweet, any eta for an update?

commented

Should be fixed in v1.87. Please let me know if that is the case.