mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Fixed wrong type args input
Former-commit-id: 2747d0de4e0624ec5f4176380df358e7cf491250 [formerly 19c720ba57d82b23430c182d0b61df1dcdf657d7] Former-commit-id: 5151cd7c6be329568479583f8fd6c7b18ce18bac
This commit is contained in:
1 parent
a6b9944e64
commit
79fda8e4fa
1 file changed
+1
-1
@@ -455,7 +455,7 @@ public class ShopManager {
|
||||
amount = Math.min(amount, (int) Math.floor(balance / price));
|
||||
if (amount < 1) {
|
||||
// when typed 'all' but player can't buy any items
|
||||
p.sendMessage(MsgUtil.getMessage("you-cant-afford-to-buy", price, balance));
|
||||
p.sendMessage(MsgUtil.getMessage("you-cant-afford-to-buy", p, format(price), format(eco.getBalance(p.getUniqueId()))));
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user