Skip to content

Commit

Permalink
Fixed deposit method not using the correct economy provider
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerBenGera committed Feb 4, 2022
1 parent 18c4940 commit 991f57b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -64,7 +64,7 @@ public void execute(SuperiorSkyblockPlugin plugin, CommandSender sender, String[

SuperiorPlayer superiorPlayer = arguments.getValue();

BigDecimal moneyInBank = plugin.getProviders().getEconomyProvider().getBalance(superiorPlayer);
BigDecimal moneyInBank = plugin.getProviders().getBankEconomyProvider().getBalance(superiorPlayer);
BigDecimal amount = BigDecimal.valueOf(-1);

if (args[1].equalsIgnoreCase("all") || args[1].equals("*")) {
Expand Down

0 comments on commit 991f57b

Please sign in to comment.