There's an error when someone tries to buy a card pack without putting a number after it: ex: /cards buy pack advanced-pack. It takes the money but doesn't give the card pack, but it works if you put a number after
Steps to reproduce
Type /cards buy pack (any pack name) (don't specify number after, leave this blank)
Expected Behaviour
I expected it to give me a single pack or not work at all, but it took the money and gave an error
Description
There's an error when someone tries to buy a card pack without putting a number after it: ex: /cards buy pack advanced-pack. It takes the money but doesn't give the card pack, but it works if you put a number after
Steps to reproduce
Expected Behaviour
I expected it to give me a single pack or not work at all, but it took the money and gave an error
Screenshots
No response
Server Log
https://pastebin.com/ePKDjVrj
Server Software
Java Purper version 1.20.1 build 2056
TradingCards version
TradingCards-5.7.19
Minecraft Version
1.20.x