Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Commit f720190

Browse files
committed
fix balance
1 parent 85fafa4 commit f720190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/cat/nyaa/HamsterEcoHelper/balance/BalanceCommands.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void pay(CommandSender sender, CommandHandler.Arguments args) {
4747
}
4848
Player player = Bukkit.getPlayer(playerName);
4949
if (player != null) {
50-
plugin.systemBalance.withdraw(amount, plugin);
50+
plugin.systemBalance.withdrawAllowDebt(amount, plugin);
5151
plugin.eco.deposit(player, amount);
5252
msg(sender, "user.balance.pay", amount, playerName);
5353
msg(player, "user.balance.pay_notice", amount);

0 commit comments

Comments
 (0)