snowgears / shopbugs

Shop bug tracker
8 stars 4 forks source link

[BUG] Checking Admin Balance for tx throws an error #448

Closed OstlerDev closed 1 month ago

OstlerDev commented 1 month ago

Is there an existing issue for this?

Type of bug

Error in console

Environment

- Server Version: Paper 1.21.1
- Shop Version: 1.9.1.0

Error log (if applicable)

https://paste.gg/p/anonymous/9de7ee4f68504694a9b31c54c501c44a

Bug description

Admin shops don't work when they check for balance, since there is no user with that name for the currency type.

Steps to reproduce

  1. Create Admin Buy shop
  2. Attempt to buy an item using Vault currency
  3. Error is thrown

Expected behaviour

Players should be able to buy items from an Admin shop

Actual behaviour

Players are unable to buy items from an Admin shop, error is thrown in log

OstlerDev commented 1 month ago

I have reworked the Admin Shop TX handling, and I have fixed this bug. It will be released in 1.9.1.1.

OstlerDev commented 1 month ago

Released in 1.9.1.1