mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-15 12:02:48 +01:00
Send correct price formatting when player has not enough money
This commit is contained in:
parent
31524f9d0e
commit
365b871cf1
@ -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)));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user