You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CrazyAuctions try call winner of auction but when he is unlogged from server, items from seller is expired and not added to winner.
Crate Type
None
Steps to reproduce
Added item to bid auction from first account.
Bid to item from second account / winner leave server.
Wait to time left.
After when time is left is not added to winner.
Additional context
CrazyAuction have in if statement, getBalance but with static function getPlayer() excepted online player on server, Plugin with Economy return 0.0 balance because player is null, when player leave server.
if (data.getBoolean("Items." + i + ".Biddable") && !data.getString("Items." + i + ".TopBidder").equalsIgnoreCase("None") && plugin.getSupport().getMoney(getPlayer(data.getString("Items." + i + ".TopBidder"))) >= data.getInt("Items." + i + ".Price")) {
Spark link
No response
Server Version
1.20.4
Server Platform
Purpur
Describe the bug
CrazyAuctions try call winner of auction but when he is unlogged from server, items from seller is expired and not added to winner.
Crate Type
None
Steps to reproduce
Additional context
CrazyAuction have in if statement, getBalance but with static function getPlayer() excepted online player on server, Plugin with Economy return 0.0 balance because player is null, when player leave server.
Related to this issue: EncryptSL/LiteEco#80
Agreements
The text was updated successfully, but these errors were encountered: