Send correct price formatting when player has not enough money

This commit is contained in:
Ben Woo 2025-01-19 22:46:13 +08:00
parent 31524f9d0e
commit 365b871cf1

View File

@ -151,7 +151,6 @@ public class WorldEntryChecker {
return economist.isPlayerWealthyEnough(player, price, currency)
? Result.success(EntryFeeResult.Success.ENOUGH_MONEY)
: Result.failure(EntryFeeResult.Failure.NOT_ENOUGH_MONEY,
replace("{amount}").with("$##"));
// TODO: Money formatting
replace("{amount}").with(economist.formatPrice(price, currency)));
}
}