Skip to content

Commit

Permalink
Added credit placeholder as integer
Browse files Browse the repository at this point in the history
  • Loading branch information
WaterArchery committed Dec 3, 2024
1 parent 98173d4 commit f342c70
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ public String onPlaceholderRequest(Player p, String identifier) {
return user.getEmail();
else if (identifier.equals("credit"))
return String.valueOf(user.getCredit());
else if (identifier.equals("credit_integer"))
return String.valueOf((int) user.getCredit());
else if (identifier.equals("creation_ip"))
return user.getCreationIp();
else if (identifier.equals("creation_date"))
Expand Down

0 comments on commit f342c70

Please sign in to comment.