Balance becomes negative when using CLOSURE()->subtract
minijaham opened this issue · 7 comments
Not sure if this is only me, but using BedrockEconomyAPI::CLOSURE()->subtract()
with bigger amount than the player's balance makes their balance negative, instead of firing InsufficientFundsException.
Confirmed that this is happening on dev-93 - 88. Probably also happens on lower builds as well.
Just confirmed that even when my balance is negative, I'm able to use /pay and other commands.
Currently on PM 5.8.1
Doesn't happen on latest release.
What data provider were you using?
What data provider were you using?
Sqlite
I've just tested it and it seems like I can't reproduce it, can you try this build
I've just tested it and it seems like I can't reproduce it, can you try this build
Hmm, then it could probably be just me. It's still happening on my end.
Can you send me both your config and database file (players.db
) on Discord @cooldogedev