sarhatabaot / TradingCards

Spigot plugin for Trading Cards (previously xPTradingCards)
https://www.spigotmc.org/resources/trading-cards.105709/
MIT License
9 stars 2 forks source link

Buying Card Pack #308

Closed orangeowie4 closed 4 months ago

orangeowie4 commented 1 year ago

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

  1. 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

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