Ajneb97 / PlayerKits

https://www.spigotmc.org/resources/playerkits-fully-configurable-kits-1-8-1-17.75185/
MIT License
8 stars 13 forks source link

Voucher problem #43

Open xtomikk opened 11 months ago

xtomikk commented 11 months ago

Hello, I use the plugin for vouchers and I have a voucher for a kit added there, but when the player has a full inventory, the kit is given to him, but it doesn't give him any things because he has a full inventory, and the voucher takes it away from me, Couldn't it be fixed?

Ajneb97 commented 11 months ago

What are you using to give the kit from the voucher?

xtomikk commented 11 months ago

Plugin CrazyVouchers with command
commands:

Ajneb97 commented 11 months ago

I tought this was Player Kits 2. Update to Player Kits 2 to avoid these bugs: https://www.spigotmc.org/resources/playerkits-2-fully-configurable-kits-1-8-1-20.112616/

xtomikk commented 11 months ago

Will it remove my current kits? Or it will keep my current folder with all kits?

Ajneb97 commented 11 months ago

Thinking more about your issue. That will be not possible to fix, because the Voucher plugin doesn't know the inventory of the player is full, it's PlayerKits the plugin which detects that and blocks the command from being executed. But, the Vouchers plugin removes the item anyways, so it is an issue with that plugin. You must see if the Vouchers plugin has some kind of condition to prevent removing the voucher item.

xtomikk commented 11 months ago

The author of the voucher plugin told me that it is on the side of the plugin with kits... I will try to update player kits 2 to this version and let you know if it works or not

Ajneb97 commented 11 months ago

If the voucher item automatically disappear on right click and the player inventory is full, then it is an issue with the Voucher plugin. The item only executes the PlayerKits command, so my plugin doesn't know where was that command executed from.