Skip to content

Commit

Permalink
Fix default amount
Browse files Browse the repository at this point in the history
  • Loading branch information
Joestarfish committed Mar 7, 2024
1 parent a3a6aba commit da8f149
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function getMoney(Player $player, callable $callback): void
Await::f2c(
fn () => yield from $this->api->get($player->getXuid(), $player->getName()),
fn ($result) => $callback($result['amount']),
fn () => $callback($this->currency->getDefaultBalance())
fn () => $callback($this->currency->defaultAmount)
);
}

Expand Down

0 comments on commit da8f149

Please sign in to comment.