Skip to content

Commit

Permalink
fix res command
Browse files Browse the repository at this point in the history
  • Loading branch information
Gl0W1E committed Oct 7, 2023
1 parent 60b36f3 commit 4cdc7cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void onSlashCommandInteraction(SlashCommandInteractionEvent event) {
emb.addField("Nation: " , r.getNationOrNull().getName(), true);
}
if (TownyEconomyHandler.isActive()) {
emb.addField("Balance:", String.valueOf(r.getAccountOrNull().getHoldingBalance()), true);
emb.addField("Balance:", String.valueOf(r.getAccount().getHoldingBalance()), true);
}

event.replyEmbeds(emb.build()).queue();
Expand Down

0 comments on commit 4cdc7cb

Please sign in to comment.