mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-26 04:25:15 +01:00
parent
eb978e6db8
commit
321c5e331a
@ -47,6 +47,7 @@ public class Placeholder {
|
||||
user_displayhonorific,
|
||||
user_joinedjobcount,
|
||||
user_points,
|
||||
user_points_fixed,
|
||||
user_total_points,
|
||||
user_archived_jobs,
|
||||
user_jobs,
|
||||
@ -412,6 +413,8 @@ public class Placeholder {
|
||||
case user_points:
|
||||
DecimalFormat dec = new DecimalFormat("00.0");
|
||||
return dec.format(user.getPointsData().getCurrentPoints());
|
||||
case user_points_fixed:
|
||||
return Integer.toString((int) user.getPointsData().getCurrentPoints());
|
||||
case user_total_points:
|
||||
format = NumberFormat.getInstance(Locale.ENGLISH);
|
||||
return format.format(user.getPointsData().getTotalPoints());
|
||||
|
Loading…
Reference in New Issue
Block a user